Class: Celluloid::ZMQ::Socket::XPub
- Inherits:
-
Celluloid::ZMQ::Socket
- Object
- Celluloid::ZMQ::Socket
- Celluloid::ZMQ::Socket::XPub
- Defined in:
- lib/celluloid/zmq/socket/types.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 Celluloid::ZMQ::Socket
Instance Method Summary collapse
-
#initialize ⇒ XPub
constructor
A new instance of XPub.
Methods included from Readable
#bind, #connect, #read, #read_multipart
Methods included from Writable
Methods inherited from Celluloid::ZMQ::Socket
#bind, #close, #connect, #get, #identity, #identity=, #set
Constructor Details
#initialize ⇒ XPub
Returns a new instance of XPub.
77 78 79 |
# File 'lib/celluloid/zmq/socket/types.rb', line 77 def initialize super :xpub end |