public class AMQFrame extends AMQDataBlock implements EncodableAMQDataBlock
| Modifier and Type | Field and Description |
|---|---|
static byte |
FRAME_END_BYTE |
| Constructor and Description |
|---|
AMQFrame(int channel,
AMQBody bodyFrame) |
| Modifier and Type | Method and Description |
|---|---|
AMQBody |
getBodyFrame() |
int |
getChannel() |
static int |
getFrameOverhead() |
long |
getSize()
Get the size of buffer needed to store the byte representation of this
frame.
|
String |
toString() |
long |
writePayload(ByteBufferSender sender) |
public static final byte FRAME_END_BYTE
public AMQFrame(int channel,
AMQBody bodyFrame)
public long getSize()
AMQDataBlockgetSize in class AMQDataBlockpublic static final int getFrameOverhead()
public long writePayload(ByteBufferSender sender)
writePayload in class AMQDataBlockpublic final int getChannel()
public final AMQBody getBodyFrame()
Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.