Class: AMQ::Protocol::Confirm::SelectOk

Inherits:
Method
  • Object
show all
Defined in:
lib/amq/protocol/client.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Method

encode_body, index, inherited, instantiate, method_id, methods, name, split_headers

Constructor Details

#initializeSelectOk

Returns a new instance of SelectOk.



2201
2202
# File 'lib/amq/protocol/client.rb', line 2201

def initialize()
end

Class Method Details

.decode(data) ⇒ Object

Returns:



2196
2197
2198
2199
# File 'lib/amq/protocol/client.rb', line 2196

def self.decode(data)
  offset = 0
  self.new()
end

.encode(channel) ⇒ Object

Returns:



2210
2211
2212
2213
2214
# File 'lib/amq/protocol/client.rb', line 2210

def self.encode(channel)
  buffer = ""
  buffer << @packed_indexes
  MethodFrame.new(buffer, channel)
end

.has_content?Boolean

Returns:

  • (Boolean)


2204
2205
2206
# File 'lib/amq/protocol/client.rb', line 2204

def self.has_content?
  false
end