Class: AMQ::Protocol::BodyFrame

Inherits:
FrameSubclass show all
Defined in:
lib/amq/protocol/frame.rb

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

Attributes inherited from FrameSubclass

#channel, #payload

Instance Method Summary collapse

Methods inherited from FrameSubclass

#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

Constructor Details

This class inherits a constructor from AMQ::Protocol::FrameSubclass

Instance Method Details

#decode_payloadObject



180
181
182
# File 'lib/amq/protocol/frame.rb', line 180

def decode_payload
  @payload
end

#final?Boolean

Returns:

  • (Boolean)


184
185
186
187
188
# File 'lib/amq/protocol/frame.rb', line 184

def final?
  # we cannot know whether it is final or not so framing code in amq-client
  # checks this over the entire frameset. MK.
  false
end