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.



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

def initialize()
end

Class Method Details

.decode(data) ⇒ Object

Returns:



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

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

.encodeObject

Returns:



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

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

.has_content?Boolean

Returns:

  • (Boolean)


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

def self.has_content?
  false
end