Class: GorgonAMQ::Protocol::Channel::Open

Inherits:
Method
  • Object
show all
Defined in:
lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/client.rb

Class Method Summary collapse

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’

Returns:



600
601
602
603
604
605
# File 'lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/client.rb', line 600

def self.encode(channel, out_of_band)
  buffer = @packed_indexes.dup
  buffer << out_of_band.to_s.bytesize.chr
  buffer << out_of_band.to_s
  MethodFrame.new(buffer, channel)
end

.has_content?Boolean

Returns:

  • (Boolean)


594
595
596
# File 'lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/client.rb', line 594

def self.has_content?
  false
end