public static final class ProtocolOutputConverterImpl.CompositeAMQBodyBlock extends AMQDataBlock
| Modifier and Type | Field and Description |
|---|---|
static int |
OVERHEAD |
| Constructor and Description |
|---|
CompositeAMQBodyBlock(int channel,
AMQBody methodBody,
AMQBody headerBody,
AMQBody contentBody) |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize()
Get the size of buffer needed to store the byte representation of this
frame.
|
String |
toString() |
long |
writePayload(ByteBufferSender sender) |
void |
writePayload(DataOutput buffer)
Writes the datablock to the specified buffer.
|
public long getSize()
AMQDataBlockgetSize in class AMQDataBlockpublic void writePayload(DataOutput buffer) throws IOException
AMQDataBlockwritePayload in class AMQDataBlockbuffer - the buffer to write toIOException - if there is a problem writing the outputpublic long writePayload(ByteBufferSender sender) throws IOException
writePayload in class AMQDataBlockIOExceptionCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.