Class: AMQ::Protocol::Connection::Unblocked

Inherits:
Method
  • Object
show all
Defined in:
lib/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

#initializeUnblocked

Returns a new instance of Unblocked.



562
563
# File 'lib/amq/protocol/client.rb', line 562

def initialize()
end

Class Method Details

.decode(data) ⇒ Object

Returns:



557
558
559
560
# File 'lib/amq/protocol/client.rb', line 557

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

.encodeObject

Returns:



571
572
573
574
575
# File 'lib/amq/protocol/client.rb', line 571

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

.has_content?Boolean

Returns:

  • (Boolean)


565
566
567
# File 'lib/amq/protocol/client.rb', line 565

def self.has_content?
  false
end