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.



2370
2371
# File 'lib/amq/protocol/client.rb', line 2370

def initialize()
end

Class Method Details

.decode(data) ⇒ Object

Returns:



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

def self.decode(data)
  offset = offset = 0 # self-assigning offset to eliminate "assigned but unused variable" warning even if offset is not used in this method
  self.new()
end

.encode(channel) ⇒ Object

Returns:



2379
2380
2381
2382
# File 'lib/amq/protocol/client.rb', line 2379

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

.has_content?Boolean

Returns:

  • (Boolean)


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

def self.has_content?
  false
end