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
IOException
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.