Class: AMQ::Protocol::Basic::RecoverAsync

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

u’requeue = false’

Returns:



2082
2083
2084
2085
2086
2087
2088
# File 'lib/amq/protocol/client.rb', line 2082

def self.encode(channel, requeue)
  buffer = @packed_indexes.dup
  bit_buffer = 0
  bit_buffer = bit_buffer | (1 << 0) if requeue
  buffer << [bit_buffer].pack(PACK_CHAR)
  MethodFrame.new(buffer, channel)
end

.has_content?Boolean

Returns:

  • (Boolean)


2076
2077
2078
# File 'lib/amq/protocol/client.rb', line 2076

def self.has_content?
  false
end