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.



842
843
# File 'lib/amq/protocol/client.rb', line 842

def initialize()
end

Class Method Details

.decode(data) ⇒ Object

Returns:



837
838
839
840
# File 'lib/amq/protocol/client.rb', line 837

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:



851
852
853
854
# File 'lib/amq/protocol/client.rb', line 851

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

.has_content?Boolean

Returns:

  • (Boolean)


845
846
847
# File 'lib/amq/protocol/client.rb', line 845

def self.has_content?
  false
end