Protocol::Method
@return
# File lib/amq/protocol/client.rb, line 900 900: def self.encode(channel, destination, source, routing_key, nowait, arguments) 901: ticket = 0 902: buffer = "" 903: buffer << @packed_indexes 904: buffer << [ticket].pack(PACK_UINT16) 905: buffer << destination.bytesize.chr 906: buffer << destination 907: buffer << source.bytesize.chr 908: buffer << source 909: buffer << routing_key.bytesize.chr 910: buffer << routing_key 911: bit_buffer = 0 912: bit_buffer = bit_buffer | (1 << 0) if nowait 913: buffer << [bit_buffer].pack(PACK_CHAR) 914: buffer << AMQ::Protocol::Table.encode(arguments) 915: MethodFrame.new(buffer, channel) 916: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.