Workspace 6.21.5
|
Users can define a Workspace loop body (as they do with CountedLoop or WhileLoop) that receives a ZMQ request and returns a response.
Inputs: | |||
---|---|---|---|
Enable | bool | Control if the response loop is enabled from outside the loop body | |
Address | QString | ||
Keep listening | bool | Control if the response loop should stay enabled (keep listening) from inside the loop body (eg. Based on receiving a request, should we keep listening for more requests?). | |
Retry socket binding | int | Retry period (seconds). During this period, the socket binding will be attempted every second until successful or the retry period expires (failure). Using -1 will retry continuously until binding is successful. | |
Response | QByteArray | The result of the loop body should be connected back to here to create a loop. Must be an ObjectDictionary of QByteArray objects | |
Ping response | QByteArray | The result when being pinged. | |
Outputs: | |||
Request | QByteArray | The ZMQ request which is the input into your loop body |