| Methods in com.sun.grizzly with parameters of type AsyncReadCallbackHandler |
Future<AsyncQueueReadUnit> |
AbstractConnectorHandler.readFromAsyncQueue(ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler)
Method reads data to the ByteBuffer using async read queue. |
Future<AsyncQueueReadUnit> |
AbstractConnectorHandler.readFromAsyncQueue(ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler,
AsyncReadCondition condition)
Method reads data to the ByteBuffer using async read queue. |
Future<AsyncQueueReadUnit> |
SSLConnectorHandler.readFromAsyncQueue(ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler,
AsyncReadCondition condition,
AsyncQueueDataProcessor readPostProcessor)
Method reads data to the ByteBuffer using async read queue.
First, if read queue is empty - it tries to read to the
ByteBuffer directly (without putting to the queue).
If associated read queue is not empty or after direct reading
ByteBuffer still has remaining place for next read -
ByteBuffer will be added to AsyncQueue.
If an exception occurs, during direct reading - it will be propagated
to the caller directly, otherwise, if the ByteBuffer is
added to a reading queue - exception notification will come via
AsyncReadCallbackHandler.onIOException() |
Future<AsyncQueueReadUnit> |
AbstractConnectorHandler.readFromAsyncQueue(ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler,
AsyncReadCondition condition,
AsyncQueueDataProcessor readPostProcessor)
Method reads data to the ByteBuffer using async read queue. |
| Methods in com.sun.grizzly.async with parameters of type AsyncReadCallbackHandler |
Future<AsyncQueueReadUnit> |
AsyncQueueReader.read(SelectionKey key,
ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler)
|
Future<AsyncQueueReadUnit> |
AbstractAsyncQueueReader.read(SelectionKey key,
ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler)
|
Future<AsyncQueueReadUnit> |
AsyncQueueReader.read(SelectionKey key,
ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler,
AsyncReadCondition condition)
|
Future<AsyncQueueReadUnit> |
AbstractAsyncQueueReader.read(SelectionKey key,
ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler,
AsyncReadCondition condition)
|
Future<AsyncQueueReadUnit> |
AsyncQueueReader.read(SelectionKey key,
ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler,
AsyncReadCondition condition,
AsyncQueueDataProcessor readPostProcessor)
|
Future<AsyncQueueReadUnit> |
AbstractAsyncQueueReader.read(SelectionKey key,
ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler,
AsyncReadCondition condition,
AsyncQueueDataProcessor readPostProcessor)
|
Future<AsyncQueueReadUnit> |
AsyncQueueReadable.readFromAsyncQueue(ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler)
Method reads data to the ByteBuffer using async read queue. |
Future<AsyncQueueReadUnit> |
AsyncQueueReadable.readFromAsyncQueue(ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler,
AsyncReadCondition condition)
Method reads data to the ByteBuffer using async read queue. |
Future<AsyncQueueReadUnit> |
AsyncQueueReadable.readFromAsyncQueue(ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler,
AsyncReadCondition condition,
AsyncQueueDataProcessor readPostProcessor)
Method reads data to the ByteBuffer using async read queue. |
void |
AsyncQueueReadUnit.set(ByteBuffer byteBuffer,
AsyncReadCallbackHandler callbackHandler,
AsyncReadCondition condition,
AsyncQueueDataProcessor readPostProcessor,
Future<AsyncQueueReadUnit> future)
|
void |
AsyncQueueReadUnit.setCallbackHandler(AsyncReadCallbackHandler callbackHandler)
|