org.apache.qpid.framing
Class HeartbeatBody
java.lang.Object
org.apache.qpid.framing.AMQBody
org.apache.qpid.framing.HeartbeatBody
public class HeartbeatBody
- extends AMQBody
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final byte TYPE
- See Also:
- Constant Field Values
FRAME
public static AMQFrame FRAME
HeartbeatBody
public HeartbeatBody()
HeartbeatBody
public HeartbeatBody(org.apache.mina.common.ByteBuffer buffer,
long size)
getFrameType
public byte getFrameType()
- Specified by:
getFrameType
in class AMQBody
getSize
protected int getSize()
- Description copied from class:
AMQBody
- Get the size of the body
- Specified by:
getSize
in class AMQBody
- Returns:
- unsigned short
writePayload
protected void writePayload(org.apache.mina.common.ByteBuffer buffer)
- Specified by:
writePayload
in class AMQBody
populateFromBuffer
protected void populateFromBuffer(org.apache.mina.common.ByteBuffer buffer,
long size)
throws AMQFrameDecodingException
- Specified by:
populateFromBuffer
in class AMQBody
- Throws:
AMQFrameDecodingException
toFrame
public AMQFrame toFrame()
Copyright © 2007. All Rights Reserved.