Class: Celluloid::ZMQ::Socket::Pub

Inherits:
Celluloid::ZMQ::Socket show all
Includes:
Writable
Defined in:
lib/celluloid/zmq/socket/types.rb

Overview

PubSockets are the counterpart of SubSockets (PUB/SUB)

Instance Attribute Summary

Attributes inherited from Celluloid::ZMQ::Socket

#linger

Instance Method Summary collapse

Methods included from Writable

#write, #write_to

Methods inherited from Celluloid::ZMQ::Socket

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

Constructor Details

#initializePub

Returns a new instance of Pub.



66
67
68
# File 'lib/celluloid/zmq/socket/types.rb', line 66

def initialize
  super :pub
end