Class: MaZMQ::Push
- Inherits:
-
SocketHandler
- Object
- SocketHandler
- MaZMQ::Push
- Defined in:
- lib/ma-zmq/push.rb
Instance Attribute Summary collapse
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize ⇒ Push
constructor
A new instance of Push.
Methods inherited from SocketHandler
#addresses, #bind, #close, #connect, #identity, #identity=, #on_read, #on_write, #recv_string, #send_string, #socket_type
Constructor Details
#initialize ⇒ Push
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
#state ⇒ Object (readonly)
Returns the value of attribute state.
3 4 5 |
# File 'lib/ma-zmq/push.rb', line 3 def state @state end |