Parent

Class Index [+]

Quicksearch

AMQ::Protocol::Connection::Tune

Attributes

channel_max[R]
frame_max[R]
heartbeat[R]

Public Class Methods

decode(data) click to toggle source

@return

     # File lib/amq/protocol/client.rb, line 404
404:         def self.decode(data)
405:           offset = 0
406:           channel_max = data[offset, 2].unpack(PACK_UINT16).first
407:           offset += 2
408:           frame_max = data[offset, 4].unpack(PACK_UINT32).first
409:           offset += 4
410:           heartbeat = data[offset, 2].unpack(PACK_UINT16).first
411:           offset += 2
412:           self.new(channel_max, frame_max, heartbeat)
413:         end
has_content?() click to toggle source
     # File lib/amq/protocol/client.rb, line 422
422:         def self.has_content?
423:           false
424:         end
new(channel_max, frame_max, heartbeat) click to toggle source
     # File lib/amq/protocol/client.rb, line 416
416:         def initialize(channel_max, frame_max, heartbeat)
417:           @channel_max = channel_max
418:           @frame_max = frame_max
419:           @heartbeat = heartbeat
420:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.