public class CompositeAMQDataBlock extends AMQDataBlock implements EncodableAMQDataBlock
| Constructor and Description |
|---|
CompositeAMQDataBlock(AMQDataBlock[] blocks) |
| Modifier and Type | Method and Description |
|---|---|
AMQDataBlock[] |
getBlocks() |
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 CompositeAMQDataBlock(AMQDataBlock[] blocks)
public AMQDataBlock[] getBlocks()
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–2017 The Apache Software Foundation. All rights reserved.