async.common
Interface ProcessReadyCallback


public interface ProcessReadyCallback

An interface through which the client can notify the transport protocol that it is ready for processing a given ByteBuffer.

Author:
Michael Parker

Method Summary
 void nowReady()
          Notifies the transport protocol that the client is ready to process the buffer; the responding action of the transport protocol depends on the context in which this ProcessReadyCallback object was presented to the client.
 

Method Detail

nowReady

void nowReady()
Notifies the transport protocol that the client is ready to process the buffer; the responding action of the transport protocol depends on the context in which this ProcessReadyCallback object was presented to the client. If it was in the context of a read operation from the buffer, the transport protocol will invoke the same method again so that the client can read from the buffer. If it was in the conext of a write operation to the buffer, the transport protocol will invoke the same method again so that the client can write to the buffer.