Parent

Class 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 2160
2160:         def self.decode(data)
2161:           offset = 0
2162:           bit_buffer = data[offset, 1].unpack(PACK_CHAR).first
2163:           offset += 1
2164:           nowait = (bit_buffer & (1 << 0)) != 0
2165:           self.new(nowait)
2166:         end
encode(channel, nowait) click to toggle source

@return

      # File lib/amq/protocol/client.rb, line 2179
2179:         def self.encode(channel, nowait)
2180:           buffer = ""
2181:           buffer << @packed_indexes
2182:           bit_buffer = 0
2183:           bit_buffer = bit_buffer | (1 << 0) if nowait
2184:           buffer << [bit_buffer].pack(PACK_CHAR)
2185:           MethodFrame.new(buffer, channel)
2186:         end
has_content?() click to toggle source
      # File lib/amq/protocol/client.rb, line 2173
2173:         def self.has_content?
2174:           false
2175:         end
new(nowait) click to toggle source
      # File lib/amq/protocol/client.rb, line 2169
2169:         def initialize(nowait)
2170:           @nowait = nowait
2171:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.