Class: NNQ::BUS0
Overview
BUS (nng bus0): best-effort bidirectional mesh. Every message sent goes to all directly connected peers. Every message received from any peer is delivered to the application. Self-pairing (BUS ↔ BUS).
Send never blocks — if a peer’s queue is full, the message is dropped for that peer (matching nng’s best-effort semantics).
Instance Attribute Summary
Attributes inherited from Socket
Instance Method Summary collapse
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