|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.framing.AMQDataBlock
public abstract class AMQDataBlock
A data block represents something that has a size in bytes and the ability to write itself to a byte buffer (similar to a byte array).
Constructor Summary | |
---|---|
AMQDataBlock()
|
Method Summary | |
---|---|
abstract long |
getSize()
Get the size of buffer needed to store the byte representation of this frame. |
abstract void |
writePayload(org.apache.mina.common.ByteBuffer buffer)
Writes the datablock to the specified buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AMQDataBlock()
Method Detail |
---|
public abstract long getSize()
public abstract void writePayload(org.apache.mina.common.ByteBuffer buffer)
buffer
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |