Class: GorgonAMQ::Protocol::Connection::CloseOk
- Inherits:
-
Method
- Object
- Method
- GorgonAMQ::Protocol::Connection::CloseOk
show all
- Defined in:
- lib/gorgon_amq-protocol/lib/gorgon_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
Returns a new instance of CloseOk.
496
497
|
# File 'lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/client.rb', line 496
def initialize()
end
|
Class Method Details
.decode(data) ⇒ Object
491
492
493
494
|
# File 'lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/client.rb', line 491
def self.decode(data)
offset = 0
self.new()
end
|
.encode ⇒ Object
505
506
507
508
509
|
# File 'lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/client.rb', line 505
def self.encode()
channel = 0
buffer = @packed_indexes.dup
MethodFrame.new(buffer, channel)
end
|
.has_content? ⇒ Boolean
499
500
501
|
# File 'lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/client.rb', line 499
def self.has_content?
false
end
|