public abstract class AMQDataBlock extends Object implements EncodableAMQDataBlock
| Constructor and Description |
|---|
AMQDataBlock() |
| Modifier and Type | Method and Description |
|---|---|
abstract long |
getSize()
Get the size of buffer needed to store the byte representation of this
frame.
|
abstract long |
writePayload(ByteBufferSender sender) |
abstract void |
writePayload(DataOutput buffer)
Writes the datablock to the specified buffer.
|
public abstract long getSize()
public abstract void writePayload(DataOutput buffer) throws IOException
buffer - the buffer to write toIOException - if there is a problem writing the outputpublic abstract long writePayload(ByteBufferSender sender) throws IOException
IOExceptionCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.