Class: AMQ::Protocol::HeaderFrame
Constant Summary
Constants inherited
from Frame
Frame::CHANNEL_RANGE, Frame::CLASSES, Frame::FINAL_OCTET, Frame::TYPES, Frame::TYPES_OPTIONS, Frame::TYPES_REVERSE
Instance Attribute Summary
#channel, #payload
Instance Method Summary
collapse
#encode, encode, #encode_to_array, id, #initialize, #size
Methods inherited from Frame
#__new__, decode, decode_header, encode, encode_to_array, encoded_payload, find_type, new
Instance Method Details
#body_size ⇒ Object
138
139
140
141
|
# File 'lib/amq/protocol/frame.rb', line 138
def body_size
decode_payload
@body_size
end
|
#final? ⇒ Boolean
134
135
136
|
# File 'lib/amq/protocol/frame.rb', line 134
def final?
false
end
|
#klass_id ⇒ Object
148
149
150
151
|
# File 'lib/amq/protocol/frame.rb', line 148
def klass_id
decode_payload
@klass_id
end
|
#properties ⇒ Object
153
154
155
156
|
# File 'lib/amq/protocol/frame.rb', line 153
def properties
decode_payload
@properties
end
|
#weight ⇒ Object
143
144
145
146
|
# File 'lib/amq/protocol/frame.rb', line 143
def weight
decode_payload
@weight
end
|