Process Flow
Upon initiating the process, the connect activity is called which is a Java method for connection (found in TriggerService.java). After connecting, the process enters a loop until a "no data" condition.
- In the loop, do a GetString java method (found in TriggerService.java)
- It does an infinite wait for data (Get-Trigger-Data)
- When the "Get-Trigger-Data" activity returns - it eithert has data or a lost connection error
- "lost" connection error will return zero length data which will result in the loop ending
- Data returned is a String and is passed to "Process-Trigger-Data" for handling
- "Process-Trigger-Data" calls process "Handle-Trigger-Data" which logs the message
- After exiting the loop - call "Disconnect" to cleanup TCP
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.