Protocol::Method
@return
# File lib/amq/protocol/client.rb, line 951 951: def self.encode(channel, destination, source, routing_key, nowait, arguments) 952: ticket = 0 953: buffer = "" 954: buffer << @packed_indexes 955: buffer << [ticket].pack(PACK_UINT16) 956: buffer << destination.bytesize.chr 957: buffer << destination 958: buffer << source.bytesize.chr 959: buffer << source 960: buffer << routing_key.bytesize.chr 961: buffer << routing_key 962: bit_buffer = 0 963: bit_buffer = bit_buffer | (1 << 0) if nowait 964: buffer << [bit_buffer].pack(PACK_CHAR) 965: buffer << AMQ::Protocol::Table.encode(arguments) 966: MethodFrame.new(buffer, channel) 967: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.