Class: AMQ::Protocol::Connection::CloseOk

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

#initializeCloseOk

Returns a new instance of CloseOk.



495
496
# File 'lib/amq/protocol/client.rb', line 495

def initialize()
end

Class Method Details

.decode(data) ⇒ Object

Returns:



490
491
492
493
# File 'lib/amq/protocol/client.rb', line 490

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

.encodeObject

Returns:



504
505
506
507
508
# File 'lib/amq/protocol/client.rb', line 504

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

.has_content?Boolean

Returns:

  • (Boolean)


498
499
500
# File 'lib/amq/protocol/client.rb', line 498

def self.has_content?
  false
end