Uses of Interface
com.sun.grizzly.async.AsyncWriteCallbackHandler

Packages that use AsyncWriteCallbackHandler
com.sun.grizzly   
com.sun.grizzly.async   
com.sun.grizzly.connectioncache.client   
 

Uses of AsyncWriteCallbackHandler in com.sun.grizzly
 

Methods in com.sun.grizzly with parameters of type AsyncWriteCallbackHandler
 Future<AsyncQueueWriteUnit> AbstractConnectorHandler.writeToAsyncQueue(ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler)
          Method writes ByteBuffer using async write queue.
 Future<AsyncQueueWriteUnit> AbstractConnectorHandler.writeToAsyncQueue(ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor)
          Method writes ByteBuffer using async write queue.
 Future<AsyncQueueWriteUnit> SSLConnectorHandler.writeToAsyncQueue(ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor, ByteBufferCloner cloner)
          Method writes ByteBuffer using async write queue. First, if write queue is empty - it tries to write ByteBuffer directly (without putting to the queue). If associated write queue is not empty or after direct writing ByteBuffer still has ready data to be written - ByteBuffer will be added to AsyncQueue. If an exception occurs, during direct writing - it will be propagated to the caller directly, otherwise, if the ByteBuffer is added to a writing queue - exception notification will come via AsyncWriteCallbackHandler.onIOException() Before data will be written on SelectableChannel, first it will be passed for preprocessing to AsyncQueueDataProcessor, and then preprocessor result data (AsyncQueueDataProcessor.getResultByteBuffer()) will be written on the SelectableChannel.
 Future<AsyncQueueWriteUnit> AbstractConnectorHandler.writeToAsyncQueue(ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor, ByteBufferCloner cloner)
          Method writes ByteBuffer using async write queue.
 Future<AsyncQueueWriteUnit> AbstractConnectorHandler.writeToAsyncQueue(SocketAddress dstAddress, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler)
          Method sends ByteBuffer using async write queue.
 Future<AsyncQueueWriteUnit> AbstractConnectorHandler.writeToAsyncQueue(SocketAddress dstAddress, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor)
          Method sends ByteBuffer using async write queue.
 Future<AsyncQueueWriteUnit> SSLConnectorHandler.writeToAsyncQueue(SocketAddress dstAddress, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor, ByteBufferCloner cloner)
          Method sends ByteBuffer using async write queue. First, if write queue is empty - it tries to send ByteBuffer to the given SocketAddress directly (without putting to the queue). If associated write queue is not empty or after direct sending ByteBuffer still has ready data to be written - ByteBuffer will be added to AsyncQueue. If an exception occurs, during direct writing - it will be propagated to the caller directly, otherwise, if the ByteBuffer is added to a writing queue - exception notification will come via AsyncWriteCallbackHandler.onIOException() Before data will be written on SelectableChannel, first it will be passed for preprocessing to AsyncQueueDataProcessor, and then preprocessor result data (AsyncQueueDataProcessor.getResultByteBuffer()) will be written on the SelectableChannel.
 Future<AsyncQueueWriteUnit> AbstractConnectorHandler.writeToAsyncQueue(SocketAddress dstAddress, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor, ByteBufferCloner cloner)
          Method sends ByteBuffer using async write queue.
 

Uses of AsyncWriteCallbackHandler in com.sun.grizzly.async
 

Fields in com.sun.grizzly.async declared as AsyncWriteCallbackHandler
protected  AsyncWriteCallbackHandler AsyncQueueWriteUnit.callbackHandler
           
 

Methods in com.sun.grizzly.async that return AsyncWriteCallbackHandler
 AsyncWriteCallbackHandler AsyncQueueWriteUnit.getCallbackHandler()
           
 

Methods in com.sun.grizzly.async with parameters of type AsyncWriteCallbackHandler
 void AsyncQueueWriteUnit.set(ByteBuffer byteBuffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor, SocketAddress dstAddress, ByteBufferCloner byteBufferCloner, Future future)
           
 void AsyncQueueWriteUnit.setCallbackHandler(AsyncWriteCallbackHandler callbackHandler)
           
 Future<AsyncQueueWriteUnit> AsyncQueueWriter.write(SelectionKey key, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler)
          Method writes ByteBuffer to the SelectableChannel First, if SelectableChannel associated write queue is empty - it tries to write ByteBuffer to the given SelectableChannel directly (without putting to the queue).
 Future<AsyncQueueWriteUnit> AbstractAsyncQueueWriter.write(SelectionKey key, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler)
           
 Future<AsyncQueueWriteUnit> AsyncQueueWriter.write(SelectionKey key, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor)
          Method writes ByteBuffer to the SelectableChannel First, if SelectableChannel associated write queue is empty - it tries to write ByteBuffer to the given SelectableChannel directly (without putting to the queue).
 Future<AsyncQueueWriteUnit> AbstractAsyncQueueWriter.write(SelectionKey key, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor)
           
 Future<AsyncQueueWriteUnit> AsyncQueueWriter.write(SelectionKey key, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor, ByteBufferCloner cloner)
          Method writes ByteBuffer to the SelectableChannel First, if SelectableChannel associated write queue is empty - it tries to write ByteBuffer to the given SelectableChannel directly (without putting to the queue).
 Future<AsyncQueueWriteUnit> AbstractAsyncQueueWriter.write(SelectionKey key, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor, ByteBufferCloner cloner)
           
 Future<AsyncQueueWriteUnit> AsyncQueueWriter.write(SelectionKey key, SocketAddress dstAddress, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler)
          Method sends ByteBuffer to the SocketAddress First, if SelectableChannel associated write queue is empty - it tries to write ByteBuffer to the given SocketAddress directly (without putting to the queue).
 Future<AsyncQueueWriteUnit> AbstractAsyncQueueWriter.write(SelectionKey key, SocketAddress dstAddress, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler)
           
 Future<AsyncQueueWriteUnit> AsyncQueueWriter.write(SelectionKey key, SocketAddress dstAddress, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor)
          Method sends ByteBuffer to the SocketAddress First, if SelectableChannel associated write queue is empty - it tries to write ByteBuffer to the given SocketAddress directly (without putting to the queue).
 Future<AsyncQueueWriteUnit> AbstractAsyncQueueWriter.write(SelectionKey key, SocketAddress dstAddress, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor)
           
 Future<AsyncQueueWriteUnit> TCPAsyncQueueWriter.write(SelectionKey key, SocketAddress dstAddress, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor, ByteBufferCloner cloner)
          Method sends ByteBuffer to the SocketAddress First, if SelectableChannel associated write queue is empty - it tries to write ByteBuffer to the given SocketAddress directly (without putting to the queue).
 Future<AsyncQueueWriteUnit> AsyncQueueWriter.write(SelectionKey key, SocketAddress dstAddress, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor, ByteBufferCloner cloner)
          Method sends ByteBuffer to the SocketAddress First, if SelectableChannel associated write queue is empty - it tries to write ByteBuffer to the given SocketAddress directly (without putting to the queue).
 Future<AsyncQueueWriteUnit> AbstractAsyncQueueWriter.write(SelectionKey key, SocketAddress dstAddress, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor, ByteBufferCloner cloner)
           
 Future<AsyncQueueWriteUnit> AsyncQueueWritable.writeToAsyncQueue(ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler)
          Method writes ByteBuffer using async write queue.
 Future<AsyncQueueWriteUnit> AsyncQueueWritable.writeToAsyncQueue(ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor)
          Method writes ByteBuffer using async write queue.
 Future<AsyncQueueWriteUnit> AsyncQueueWritable.writeToAsyncQueue(ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor, ByteBufferCloner cloner)
          Method writes ByteBuffer using async write queue.
 Future<AsyncQueueWriteUnit> AsyncQueueWritable.writeToAsyncQueue(SocketAddress dstAddress, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler)
          Method sends ByteBuffer using async write queue.
 Future<AsyncQueueWriteUnit> AsyncQueueWritable.writeToAsyncQueue(SocketAddress dstAddress, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor)
          Method sends ByteBuffer using async write queue.
 Future<AsyncQueueWriteUnit> AsyncQueueWritable.writeToAsyncQueue(SocketAddress dstAddress, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor, ByteBufferCloner cloner)
          Method sends ByteBuffer using async write queue.
 

Uses of AsyncWriteCallbackHandler in com.sun.grizzly.connectioncache.client
 

Methods in com.sun.grizzly.connectioncache.client with parameters of type AsyncWriteCallbackHandler
 Future<AsyncQueueWriteUnit> CacheableConnectorHandler.writeToAsyncQueue(ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler)
           
 Future<AsyncQueueWriteUnit> CacheableConnectorHandler.writeToAsyncQueue(ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor)
           
 Future<AsyncQueueWriteUnit> CacheableConnectorHandler.writeToAsyncQueue(ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor, ByteBufferCloner cloner)
           
 Future<AsyncQueueWriteUnit> CacheableConnectorHandler.writeToAsyncQueue(SocketAddress dstAddress, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler)
           
 Future<AsyncQueueWriteUnit> CacheableConnectorHandler.writeToAsyncQueue(SocketAddress dstAddress, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor)
           
 Future<AsyncQueueWriteUnit> CacheableConnectorHandler.writeToAsyncQueue(SocketAddress dstAddress, ByteBuffer buffer, AsyncWriteCallbackHandler callbackHandler, AsyncQueueDataProcessor writePreProcessor, ByteBufferCloner cloner)
           
 



Copyright © 2010 Oracle Corpration. All Rights Reserved.