|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AsyncQueueDataProcessor
Interface represents processor class, which could be used either by
AsyncQueueWriter for pre processing data, which will be sent on a
SelectableChannel; or by AsyncQueueReader for
post processing data, which were read from a SelectableChannel.
| Method Summary | |
|---|---|
ByteBuffer |
getInternalByteBuffer()
Method returns the processor's internal ByteBuffer. |
void |
process(ByteBuffer buffer)
Method is called to process data. |
| Method Detail |
|---|
void process(ByteBuffer buffer)
throws IOException
ByteBuffer; or passed buffer
could be used to return process result to caller.
buffer - ByteBuffer, which, depending on implementation,
will be either used as input data source, or contain process results.
IOExceptionByteBuffer getInternalByteBuffer()
ByteBuffer.
ByteBuffer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||