Parent

Class Index [+]

Quicksearch

AMQ::Protocol::Channel::FlowOk

Attributes

active[R]

Public Class Methods

decode(data) click to toggle source

@return

     # File lib/amq/protocol/client.rb, line 678
678:         def self.decode(data)
679:           offset = 0
680:           bit_buffer = data[offset, 1].unpack(PACK_CHAR).first
681:           offset += 1
682:           active = (bit_buffer & (1 << 0)) != 0
683:           self.new(active)
684:         end
encode(channel, active) click to toggle source

@return

     # File lib/amq/protocol/client.rb, line 697
697:         def self.encode(channel, active)
698:           buffer = ""
699:           buffer << @packed_indexes
700:           bit_buffer = 0
701:           bit_buffer = bit_buffer | (1 << 0) if active
702:           buffer << [bit_buffer].pack(PACK_CHAR)
703:           MethodFrame.new(buffer, channel)
704:         end
has_content?() click to toggle source
     # File lib/amq/protocol/client.rb, line 691
691:         def self.has_content?
692:           false
693:         end
new(active) click to toggle source
     # File lib/amq/protocol/client.rb, line 687
687:         def initialize(active)
688:           @active = active
689:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.