Class: Celluloid::ZMQ::XPubSocket
- Includes:
- ReadableSocket, WritableSocket
- Defined in:
- lib/celluloid/zmq/sockets.rb
Overview
XPubSockets are just like PubSockets but reading from them gives you the subscription/unsubscription channels as they’re joined/left.
Instance Attribute Summary
Attributes inherited from Socket
Instance Method Summary collapse
-
#initialize ⇒ XPubSocket
constructor
A new instance of XPubSocket.
Methods included from ReadableSocket
#bind, #connect, #read, #read_multipart
Methods included from WritableSocket
Methods inherited from Socket
#bind, #close, #connect, #get, #identity, #identity=, #set
Constructor Details
#initialize ⇒ XPubSocket
Returns a new instance of XPubSocket.
196 197 198 |
# File 'lib/celluloid/zmq/sockets.rb', line 196 def initialize super :xpub end |