Module: ZMQMachine::Server::XREQ
Overview
module REQ
Instance Method Summary collapse
Methods included from RoutingEnvelope
#routing_strings, #save_routing
Methods included from Base
#initialize, #on_attach, #on_readable_error, #on_writable, #on_writable_error, #shutdown, #write
Instance Method Details
#on_readable(socket, messages, envelope) ⇒ Object
21 22 23 24 25 26 |
# File 'lib/zm/server/req.rb', line 21 def on_readable socket, , envelope @routing = save_routing envelope @on_read.call socket, , envelope (envelope + ) end |