Module: ZMQMachine::Server::RoutingEnvelope
Instance Method Summary collapse
- #routing_strings ⇒ Object
-
#save_routing(messages) ⇒ Object
Saves the return routing information for XREP sockets.
Instance Method Details
#routing_strings ⇒ Object
20 21 22 |
# File 'lib/zm/server/routing_envelope.rb', line 20 def routing_strings @routing_strings.dup end |
#save_routing(messages) ⇒ Object
Saves the return routing information for XREP sockets
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/zm/server/routing_envelope.rb', line 8 def save_routing @routing_messages = [] @routing_strings = [] .each do || string = .copy_out_string @routing_strings << string @routing_messages << ZMQ::Message.new(string) end @routing_messages end |