Class AMQFrame
- java.lang.Object
-
- org.apache.qpid.server.protocol.v0_8.transport.AMQDataBlock
-
- org.apache.qpid.server.protocol.v0_8.transport.AMQFrame
-
- All Implemented Interfaces:
EncodableAMQDataBlock
public class AMQFrame extends AMQDataBlock implements EncodableAMQDataBlock
-
-
Field Summary
Fields Modifier and Type Field Description static byteFRAME_END_BYTE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AMQBodygetBodyFrame()intgetChannel()static intgetFrameOverhead()longgetSize()Get the size of buffer needed to store the byte representation of this frame.java.lang.StringtoString()longwritePayload(org.apache.qpid.server.transport.ByteBufferSender sender)
-
-
-
Field Detail
-
FRAME_END_BYTE
public static final byte FRAME_END_BYTE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AMQFrame
public AMQFrame(int channel, AMQBody bodyFrame)
-
-
Method Detail
-
getSize
public long getSize()
Description copied from class:AMQDataBlockGet the size of buffer needed to store the byte representation of this frame.- Specified by:
getSizein classAMQDataBlock- Returns:
- unsigned integer
-
getFrameOverhead
public static final int getFrameOverhead()
-
writePayload
public long writePayload(org.apache.qpid.server.transport.ByteBufferSender sender)
- Specified by:
writePayloadin classAMQDataBlock
-
getChannel
public final int getChannel()
-
getBodyFrame
public final AMQBody getBodyFrame()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-