Workspace 6.21.5
ZmqReplyLoop

Users can define a Workspace loop body (as they do with CountedLoop or WhileLoop) that receives a ZMQ request and returns a response.

  • Default label: "ZMQ reply loop"
  • Member of plug-in: Distributed
  • Catalogue path: Distributed
Inputs:
EnableboolControl if the response loop is enabled from outside the loop body
AddressQString

Keep listeningboolControl 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 bindingintRetry 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.
ResponseQByteArrayThe result of the loop body should be connected back to here to create a loop. Must be an ObjectDictionary of QByteArray objects
Ping responseQByteArray

The result when being pinged.

Outputs:
RequestQByteArray

The ZMQ request which is the input into your loop body