org.apache.qpid.framing
Class DeferredDataBlock

java.lang.Object
  extended by org.apache.qpid.framing.AMQDataBlock
      extended by org.apache.qpid.framing.DeferredDataBlock
All Implemented Interfaces:
EncodableAMQDataBlock

public abstract class DeferredDataBlock
extends AMQDataBlock


Constructor Summary
DeferredDataBlock()
           
 
Method Summary
protected abstract  AMQDataBlock createAMQDataBlock()
           
 long getSize()
          Get the size of buffer needed to store the byte representation of this frame.
 void writePayload(org.apache.mina.common.ByteBuffer buffer)
          Writes the datablock to the specified buffer.
 
Methods inherited from class org.apache.qpid.framing.AMQDataBlock
toByteBuffer, toNioByteBuffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeferredDataBlock

public DeferredDataBlock()
Method Detail

getSize

public long getSize()
Description copied from class: AMQDataBlock
Get the size of buffer needed to store the byte representation of this frame.

Specified by:
getSize in class AMQDataBlock
Returns:
unsigned integer

writePayload

public void writePayload(org.apache.mina.common.ByteBuffer buffer)
Description copied from class: AMQDataBlock
Writes the datablock to the specified buffer.

Specified by:
writePayload in class AMQDataBlock

createAMQDataBlock

protected abstract AMQDataBlock createAMQDataBlock()


Licensed to the Apache Software Foundation