Class: GorgonAMQ::Protocol::Confirm::SelectOk

Inherits:
Method
  • Object
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

#initializeSelectOk

Returns a new instance of SelectOk.



2296
2297
# File 'lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/client.rb', line 2296

def initialize()
end

Class Method Details

.decode(data) ⇒ Object

Returns:



2291
2292
2293
2294
# File 'lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/client.rb', line 2291

def self.decode(data)
  offset = 0
  self.new()
end

.encode(channel) ⇒ Object

Returns:



2305
2306
2307
2308
# File 'lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/client.rb', line 2305

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

.has_content?Boolean

Returns:

  • (Boolean)


2299
2300
2301
# File 'lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/client.rb', line 2299

def self.has_content?
  false
end