Package com.sun.grizzly.async

Interface Summary
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.
AsyncQueueReadable Object, which is able to read data to the ByteBuffer asynchronously, using queue.
AsyncQueueReader  
AsyncQueueWritable Object, which is able to send ByteBuffer data asynchronously, using queue.
AsyncQueueWriter Common interface to be implemented by protocol dependant asynchronous queue writers implementations
AsyncReadCallbackHandler Callback handler interface, used by AsyncQueueReader to notify custom code either about completion of specific ByteBuffer reading or about IO problem, which occured when reading data to a ByteBuffer
AsyncReadCondition Interface represents condition, which will be checked when AsyncQueueReader was able to read new portion of data from SelectableChannel, whoch is associated with a SelectionKey.
AsyncWriteCallbackHandler Callback handler interface, used by AsyncQueueWriter to notify custom code either about completion of specific ByteBuffer writing or about IO problem, which occured when writing ByteBuffer
ByteBufferCloner Cloner, which will be called by AsyncQueueWriter, when ByteBuffer could not be written directly, and will be added to the queue.
 

Class Summary
AbstractAsyncQueueReader  
AbstractAsyncQueueWriter  
AsyncQueue<K,E> Class implements Map-like collection, maps keys to values, where single key could have queue of correspondent values.
AsyncQueueReaderContextTask AsyncQueueReader task, which will be executed by Context, when Context.execute(ContextTask) is called.
AsyncQueueReadUnit AsyncQueue write data unit
AsyncQueueWriterContextTask AsyncQueueWriter task, which will be executed by Context, when Context.execute(ContextTask) is called.
AsyncQueueWriteUnit AsyncQueue write data unit
OperationResult Class represents the result of a single I/O operation on async queue.
TCPAsyncQueueReader  
TCPAsyncQueueWriter TCP implementation of AsyncQueueWriter
UDPAsyncQueueReader  
UDPAsyncQueueWriter UDP implementation of AsyncQueueWriter
 



Copyright © 2012 Oracle Corporation. All Rights Reserved.