Class: AMQ::Protocol::Connection::CloseOk
- Defined in:
- lib/amq/protocol/client.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ CloseOk
constructor
A new instance of CloseOk.
Methods inherited from Method
encode_body, index, inherited, instantiate, method_id, methods, name, split_headers
Constructor Details
#initialize ⇒ CloseOk
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
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 |
.encode ⇒ Object
[]
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
498 499 500 |
# File 'lib/amq/protocol/client.rb', line 498 def self.has_content? false end |