Class: GorgonAMQ::Protocol::Basic::RecoverAsync
- Defined in:
- lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/client.rb
Class Method Summary collapse
-
.encode(channel, requeue) ⇒ Object
[u’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
- u’requeue = false’
2008 2009 2010 2011 2012 2013 2014 |
# File 'lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/client.rb', line 2008 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
2002 2003 2004 |
# File 'lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/client.rb', line 2002 def self.has_content? false end |