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.



2364
2365
# File 'lib/amq/protocol/client.rb', line 2364

def initialize()
end

Class Method Details

.decode(data) ⇒ Object

Returns:



2359
2360
2361
2362
# File 'lib/amq/protocol/client.rb', line 2359

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

.encode(channel) ⇒ Object

Returns:



2373
2374
2375
2376
2377
# File 'lib/amq/protocol/client.rb', line 2373

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

.has_content?Boolean

Returns:

  • (Boolean)


2367
2368
2369
# File 'lib/amq/protocol/client.rb', line 2367

def self.has_content?
  false
end