Class: Celluloid::ZMQ::Socket::XPub

Inherits:
Celluloid::ZMQ::Socket show all
Includes:
Readable, Writable
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

#linger

Instance Method Summary collapse

Methods included from Readable

#bind, #connect, #read, #read_multipart

Methods included from Writable

#write, #write_to

Methods inherited from Celluloid::ZMQ::Socket

#bind, #close, #connect, #get, #identity, #identity=, #set

Constructor Details

#initializeXPub

Returns a new instance of XPub.



77
78
79
# File 'lib/celluloid/zmq/socket/types.rb', line 77

def initialize
  super :xpub
end