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, #identity, #identity=

Constructor Details

#initializePubSocket

Returns a new instance of PubSocket.



158
159
160
# File 'lib/celluloid/zmq/sockets.rb', line 158

def initialize
  super :pub
end