| Modifier and Type | Field and Description |
|---|---|
static byte |
TYPE |
| Constructor and Description |
|---|
ContentBody(ByteBuffer payload) |
ContentBody(QpidByteBuffer payload) |
| Modifier and Type | Method and Description |
|---|---|
static AMQFrame |
createAMQFrame(int channelId,
ContentBody body) |
void |
dispose() |
byte |
getFrameType() |
QpidByteBuffer |
getPayload() |
int |
getSize()
Get the size of the body
|
void |
handle(int channelId,
AMQVersionAwareProtocolSession session) |
static void |
process(QpidByteBuffer in,
ChannelMethodProcessor methodProcessor,
long bodySize) |
long |
writePayload(ByteBufferSender sender) |
public static final byte TYPE
public ContentBody(ByteBuffer payload)
public ContentBody(QpidByteBuffer payload)
public byte getFrameType()
getFrameType in interface AMQBodypublic int getSize()
AMQBodypublic void handle(int channelId,
AMQVersionAwareProtocolSession session)
throws QpidException
handle in interface AMQBodyQpidExceptionpublic long writePayload(ByteBufferSender sender)
writePayload in interface AMQBodypublic QpidByteBuffer getPayload()
public void dispose()
public static void process(QpidByteBuffer in, ChannelMethodProcessor methodProcessor, long bodySize)
public static AMQFrame createAMQFrame(int channelId, ContentBody body)
Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.