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()
AMQDataBlock
getSize
in class AMQDataBlock
public void writePayload(DataOutput buffer) throws IOException
AMQDataBlock
writePayload
in class AMQDataBlock
buffer
- the buffer to write toIOException
- if there is a problem writing the outputpublic long writePayload(ByteBufferSender sender) throws IOException
writePayload
in class AMQDataBlock
IOException
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.