class AMQ::Protocol::Basic::GetEmpty

Attributes

cluster_id[R]

Public Class Methods

decode(data) click to toggle source

@return

# File lib/amq/protocol/client.rb, line 1910
def self.decode(data)
  offset = 0
  length = data[offset, 1].unpack(PACK_CHAR).first
  offset += 1
  cluster_id = data[offset, length]
  offset += length
  self.new(cluster_id)
end
has_content?() click to toggle source
# File lib/amq/protocol/client.rb, line 1924
def self.has_content?
  false
end
new(cluster_id) click to toggle source
# File lib/amq/protocol/client.rb, line 1920
def initialize(cluster_id)
  @cluster_id = cluster_id
end