Class: AMQ::Protocol::Basic::Recover
- Defined in:
- lib/amq/protocol/client.rb
Class Method Summary collapse
-
.encode(channel, requeue) ⇒ Object
[“requeue = false”].
- .has_content? ⇒ Boolean
Methods inherited from Method
encode_body, index, inherited, instantiate, method_id, methods, name, split_headers
Class Method Details
.encode(channel, requeue) ⇒ Object
- “requeue = false”
1953 1954 1955 1956 1957 1958 1959 1960 |
# File 'lib/amq/protocol/client.rb', line 1953 def self.encode(channel, requeue) buffer = "" buffer << @packed_indexes 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
1947 1948 1949 |
# File 'lib/amq/protocol/client.rb', line 1947 def self.has_content? false end |