Class: Celluloid::ZMQ::PubSocket

Inherits:
Socket
  • Object
show all
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

#linger

Instance Method Summary collapse

Methods included from WritableSocket

#write

Methods inherited from Socket

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

Constructor Details

#initializePubSocket

Returns a new instance of PubSocket.



185
186
187
# File 'lib/celluloid/zmq/sockets.rb', line 185

def initialize
  super :pub
end