Class: AMQ::Protocol::Channel::Open
- Defined in:
- lib/amq/protocol/client.rb
Class Method Summary collapse
-
.encode(channel, out_of_band) ⇒ Object
[u’out_of_band = EMPTY_STRING’].
- .has_content? ⇒ Boolean
Methods inherited from Method
encode_body, index, inherited, instantiate, method_id, methods, name, split_headers
Class Method Details
.encode(channel, out_of_band) ⇒ Object
- u’out_of_band = EMPTY_STRING’
638 639 640 641 642 643 644 |
# File 'lib/amq/protocol/client.rb', line 638 def self.encode(channel, out_of_band) buffer = '' buffer << @packed_indexes buffer << out_of_band.to_s.bytesize.chr buffer << out_of_band.to_s MethodFrame.new(buffer, channel) end |
.has_content? ⇒ Boolean
632 633 634 |
# File 'lib/amq/protocol/client.rb', line 632 def self.has_content? false end |