Class: Celluloid::ZMQ::RouterSocket

Inherits:
Socket
  • Object
show all
Includes:
ReadableSocket, WritableSocket
Defined in:
lib/celluloid/zmq/sockets.rb

Overview

RouterSockets are like RepSockets but more flexible

Instance Attribute Summary

Attributes inherited from Socket

#linger

Instance Method Summary collapse

Methods included from WritableSocket

#write

Methods included from ReadableSocket

#bind, #connect, #read

Methods inherited from Socket

#bind, #close, #connect, #identity, #identity=

Constructor Details

#initializeRouterSocket

Returns a new instance of RouterSocket.



131
132
133
# File 'lib/celluloid/zmq/sockets.rb', line 131

def initialize
  super :router
end