Class: AMQ::Protocol::HeartbeatFrame

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

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from FrameSubclass

#encode, #encode_to_array, id, #initialize, #size

Methods inherited from Frame

#__new__, decode, decode_header, encode_to_array, encoded_payload, find_type, new

Constructor Details

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

Class Method Details

.encodeObject

final?



198
199
200
# File 'lib/amq/protocol/frame.rb', line 198

def self.encode
  super(Protocol::EMPTY_STRING, 0)
end

Instance Method Details

#final?Boolean

Returns:

  • (Boolean)


194
195
196
# File 'lib/amq/protocol/frame.rb', line 194

def final?
  true
end