class AMQ::Protocol::Channel::Open

Public Class Methods

encode(channel, out_of_band) click to toggle source

@return

u'out_of_band = EMPTY_STRING'
# File lib/amq/protocol/client.rb, line 599
def self.encode(channel, out_of_band)
  buffer = @packed_indexes.dup
  buffer << out_of_band.to_s.bytesize.chr
  buffer << out_of_band.to_s
  MethodFrame.new(buffer, channel)
end
has_content?() click to toggle source
# File lib/amq/protocol/client.rb, line 593
def self.has_content?
  false
end