Class: DripDrop::ZMQPubHandler
- Inherits:
-
ZMQBaseHandler
- Object
- BaseHandler
- ZMQBaseHandler
- DripDrop::ZMQPubHandler
- Includes:
- ZMQWritableHandler
- Defined in:
- lib/dripdrop/handlers/zeromq.rb
Instance Attribute Summary
Attributes inherited from ZMQBaseHandler
Instance Method Summary collapse
-
#send_message(message) ⇒ Object
Sends a message along.
Methods included from ZMQWritableHandler
Methods inherited from ZMQBaseHandler
#add_connection, #address, #initialize, #on_receive, #on_recv, #post_setup, #read_connection, #write_connection
Methods inherited from BaseHandler
#handle_error, #on_error, #print_exception
Instance Method Details
#send_message(message) ⇒ Object
Sends a message along
160 161 162 163 164 165 166 167 |
# File 'lib/dripdrop/handlers/zeromq.rb', line 160 def () = dd_messagify(,) if .is_a?(DripDrop::Message) super([.name, .encoded]) else super() end end |