Class: AMQ::Protocol::Channel::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.



811
812
# File 'lib/amq/protocol/client.rb', line 811

def initialize()
end

Class Method Details

.decode(data) ⇒ Object

Returns:



806
807
808
809
# File 'lib/amq/protocol/client.rb', line 806

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

.encode(channel) ⇒ Object

Returns:



820
821
822
823
824
# File 'lib/amq/protocol/client.rb', line 820

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

.has_content?Boolean

Returns:

  • (Boolean)


814
815
816
# File 'lib/amq/protocol/client.rb', line 814

def self.has_content?
  false
end