class AMQ::Protocol::Basic::CancelOk
Attributes
consumer_tag[R]
Public Class Methods
decode(data)
click to toggle source
@return
# File lib/amq/protocol/client.rb, line 1762 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 length = data[offset, 1].unpack(PACK_CHAR).first offset += 1 consumer_tag = data[offset, length] offset += length self.new(consumer_tag) end
has_content?()
click to toggle source
# File lib/amq/protocol/client.rb, line 1776 def self.has_content? false end
new(consumer_tag)
click to toggle source
# File lib/amq/protocol/client.rb, line 1772 def initialize(consumer_tag) @consumer_tag = consumer_tag end