Class: MaZMQ::Push

Inherits:
SocketHandler show all
Defined in:
lib/ma-zmq/push.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from SocketHandler

#addresses, #bind, #close, #connect, #identity, #identity=, #on_read, #on_write, #recv_string, #send_string, #socket_type

Constructor Details

#initializePush

Returns a new instance of Push.



5
6
7
8
# File 'lib/ma-zmq/push.rb', line 5

def initialize
  @socket_type = ZMQ::PUSH
  super
end

Instance Attribute Details

#stateObject (readonly)

Returns the value of attribute state.



3
4
5
# File 'lib/ma-zmq/push.rb', line 3

def state
  @state
end