Class: NNQ::RESPONDENT0
Overview
RESPONDENT (nng respondent0): reply side of the survey pattern. Receives surveys, processes them, and optionally sends replies. Strict alternation: #receive then #send_reply.
Instance Attribute Summary
Attributes inherited from Socket
Instance Method Summary collapse
-
#receive ⇒ String?
Blocks until the next survey arrives.
-
#send_reply(body) ⇒ Object
Routes
bodyback to the surveyor that sent the most recent survey.
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