RequestReceiver

Receiving request from ZMQ and sending reply for that.
Methods Summary
public
# __construct( ZMQContext $context )
public static
# inContext( ZMQContext $context )
public
# bind( SAREhub\Commons\Misc\Dsn $dsn )
Binds socket to $dsn
public
# unbind( )
Unbinds socket from current binded dsn
public
# receiveRequest( bool $wait = true )
Getting next request from socket.
public
# sendReply( string $reply , bool $wait = true )
Sending reply to ZMQ socket.
public
# isBinded( )
public
# getDsn( )
public
public
Constants Summary
public boolean WAIT
# true
public boolean DONT_WAIT
# false
Properties Summary
protected SAREhub\Commons\Misc\Dsn $dsn
# NULL
protected ZMQContext $context
# NULL
protected ZMQSocket $socket
# NULL