Class/Module Index [+]

Quicksearch

AMQ::Protocol::Confirm::Select

Attributes

nowait[R]

Public Class Methods

decode(data) click to toggle source

@return

# File lib/amq/protocol/client.rb, line 2307
def self.decode(data)
  offset = 0
  bit_buffer = data[offset, 1].unpack(PACK_CHAR).first
  offset += 1
  nowait = (bit_buffer & (1 << 0)) != 0
  self.new(nowait)
end
encode(channel, nowait) click to toggle source

@return

u'nowait = false'
# File lib/amq/protocol/client.rb, line 2326
def self.encode(channel, nowait)
  buffer = ''
  buffer << @packed_indexes
  bit_buffer = 0
  bit_buffer = bit_buffer | (1 << 0) if nowait
  buffer << [bit_buffer].pack(PACK_CHAR)
  MethodFrame.new(buffer, channel)
end
has_content?() click to toggle source
# File lib/amq/protocol/client.rb, line 2320
def self.has_content?
  false
end
new(nowait) click to toggle source
# File lib/amq/protocol/client.rb, line 2316
def initialize(nowait)
  @nowait = nowait
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.