Class Index [+]

Quicksearch

AMQ::Protocol::HeaderFrame

Public Instance Methods

body_size() click to toggle source
     # File lib/amq/protocol/frame.rb, line 114
114:       def body_size
115:         decode_payload
116:         @body_size
117:       end
decode_payload() click to toggle source
     # File lib/amq/protocol/frame.rb, line 134
134:       def decode_payload
135:         @decoded_payload ||= begin
136:                                @klass_id, @weight = @payload.unpack(PACK_UINT16_X2)
137:                                # the total size of the content body, that is, the sum of the body sizes for the
138:                                # following content body frames. Zero indicates that there are no content body frames.
139:                                # So this is NOT related to this very header frame!
140:                                @body_size         = AMQ::Hacks.unpack_64_big_endian(@payload[4..11]).first
141:                                @data              = @payload[12..1]
142:                                @properties        = Basic.decode_properties(@data)
143:                              end
144:       end
final?() click to toggle source
     # File lib/amq/protocol/frame.rb, line 110
110:       def final?
111:         false
112:       end
klass_id() click to toggle source
     # File lib/amq/protocol/frame.rb, line 124
124:       def klass_id
125:         decode_payload
126:         @klass_id
127:       end
properties() click to toggle source
     # File lib/amq/protocol/frame.rb, line 129
129:       def properties
130:         decode_payload
131:         @properties
132:       end
weight() click to toggle source
     # File lib/amq/protocol/frame.rb, line 119
119:       def weight
120:         decode_payload
121:         @weight
122:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.