Class: NNQ::REP0
Overview
REP (nng rep0): server side of request/reply. Strict alternation of #receive then #send_reply, per request.
Instance Attribute Summary
Attributes inherited from Socket
Instance Method Summary collapse
-
#receive ⇒ Object
Blocks until the next request arrives.
-
#send_reply(body) ⇒ Object
Routes
bodyback to the pipe the most recent #receive came from.
Methods inherited from Socket
#all_peers_gone, bind, #bind, #close, #close_read, connect, #connect, #connection_count, #frozen_binary, #initialize, #last_endpoint, #monitor, #peer_connected, #raw?, #reconnect_enabled, #reconnect_enabled=
Constructor Details
This class inherits a constructor from NNQ::Socket