class AMQ::Protocol::Connection::OpenOk
Attributes
known_hosts[R]
Public Class Methods
decode(data)
click to toggle source
@return
# File lib/amq/protocol/client.rb, line 413 def self.decode(data) offset = 0 length = data[offset, 1].unpack(PACK_CHAR).first offset += 1 known_hosts = data[offset, length] offset += length self.new(known_hosts) end
has_content?()
click to toggle source
# File lib/amq/protocol/client.rb, line 427 def self.has_content? false end
new(known_hosts)
click to toggle source
# File lib/amq/protocol/client.rb, line 423 def initialize(known_hosts) @known_hosts = known_hosts end