Parent

Class Index [+]

Quicksearch

AMQ::Protocol::Connection::Open

Public Class Methods

encode(virtual_host) click to toggle source

@return

     # File lib/amq/protocol/client.rb, line 462
462:         def self.encode(virtual_host)
463:           capabilities = EMPTY_STRING
464:           insist = false
465:           channel = 0
466:           buffer = ""
467:           buffer << @packed_indexes
468:           buffer << virtual_host.bytesize.chr
469:           buffer << virtual_host
470:           buffer << capabilities.bytesize.chr
471:           buffer << capabilities
472:           bit_buffer = 0
473:           bit_buffer = bit_buffer | (1 << 0) if insist
474:           buffer << [bit_buffer].pack(PACK_CHAR)
475:           MethodFrame.new(buffer, channel)
476:         end
has_content?() click to toggle source
     # File lib/amq/protocol/client.rb, line 456
456:         def self.has_content?
457:           false
458:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.