Class: Celluloid::ZMQ::PubSocket
- Includes:
- WritableSocket
- Defined in:
- lib/celluloid/zmq/sockets.rb
Overview
PubSockets are the counterpart of SubSockets (PUB/SUB)
Instance Attribute Summary
Attributes inherited from Socket
Instance Method Summary collapse
-
#initialize ⇒ PubSocket
constructor
A new instance of PubSocket.
Methods included from WritableSocket
Methods inherited from Socket
#bind, #close, #connect, #get, #identity, #identity=, #set
Constructor Details
#initialize ⇒ PubSocket
Returns a new instance of PubSocket.
185 186 187 |
# File 'lib/celluloid/zmq/sockets.rb', line 185 def initialize super :pub end |