|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of CompletionHandler in org.glassfish.grizzly |
|---|
| Classes in org.glassfish.grizzly that implement CompletionHandler | |
|---|---|
class |
CompletionHandlerAdapter<E>
Adapter for CompletionHandler interface, which has empty
implementation for all callback methods. |
| Methods in org.glassfish.grizzly with parameters of type CompletionHandler | |
|---|---|
Future<ReadResult<Buffer,L>> |
Readable.read(Buffer buffer,
CompletionHandler<ReadResult<Buffer,L>> completionHandler)
Method reads data to the buffer. |
Future<ReadResult<Buffer,L>> |
Readable.read(Buffer buffer,
CompletionHandler<ReadResult<Buffer,L>> completionHandler,
Condition<ReadResult<Buffer,L>> condition)
Method reads data to the buffer. |
Future<ReadResult<Buffer,L>> |
AbstractReader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,L>> completionHandler)
Method reads data to the buffer. |
Future<ReadResult<Buffer,L>> |
Reader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,L>> completionHandler)
Method reads data to the buffer. |
Future<ReadResult<Buffer,L>> |
Reader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,L>> completionHandler,
Interceptor<ReadResult> interceptor)
Method reads data to the buffer. |
Future<WriteResult<Buffer,L>> |
Writable.write(Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer. |
Future<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer. |
Future<WriteResult<Buffer,L>> |
AbstractWriter.write(Connection connection,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer. |
Future<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler,
Interceptor<WriteResult> interceptor)
Method writes the buffer. |
Future<WriteResult<Buffer,L>> |
AbstractWriter.write(Connection connection,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler,
Interceptor<WriteResult> interceptor)
Method writes the buffer. |
Future<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
L dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer to the specific address. |
Future<WriteResult<Buffer,L>> |
AbstractWriter.write(Connection connection,
L dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer to the specific address. |
Future<WriteResult<Buffer,L>> |
Writer.write(Connection connection,
L dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler,
Interceptor<WriteResult> interceptor)
Method writes the buffer to the specific address. |
Future<WriteResult<Buffer,L>> |
Writable.write(L dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer to the specific address. |
| Uses of CompletionHandler in org.glassfish.grizzly.asyncqueue |
|---|
| Fields in org.glassfish.grizzly.asyncqueue declared as CompletionHandler | |
|---|---|
protected CompletionHandler |
AsyncQueueRecord.completionHandler
|
| Methods in org.glassfish.grizzly.asyncqueue that return CompletionHandler | |
|---|---|
CompletionHandler |
AsyncQueueRecord.getCompletionHandler()
|
| Methods in org.glassfish.grizzly.asyncqueue with parameters of type CompletionHandler | |
|---|---|
void |
AsyncQueueRecord.set(Buffer buffer,
Future future,
R currentResult,
CompletionHandler completionHandler,
Interceptor<R> interceptor)
|
void |
AsyncWriteQueueRecord.set(Buffer buffer,
Future future,
WriteResult currentResult,
CompletionHandler completionHandler,
Interceptor<WriteResult> interceptor,
A dstAddress)
|
void |
AsyncQueueRecord.setCompletionHandler(CompletionHandler completionHandler)
|
Future<WriteResult<Buffer,L>> |
AsyncQueueWriter.write(Connection connection,
L dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler,
Interceptor<WriteResult> interceptor,
MessageCloner<Buffer> cloner)
Method writes the Buffer to the specific address. |
| Uses of CompletionHandler in org.glassfish.grizzly.nio |
|---|
| Methods in org.glassfish.grizzly.nio that return CompletionHandler | |
|---|---|
CompletionHandler |
DefaultSelectorHandler.SelectionKeyOperation.getCompletionHandler()
|
| Methods in org.glassfish.grizzly.nio with parameters of type CompletionHandler | ||
|---|---|---|
protected
|
AbstractNIOAsyncQueueWriter.doWrite(Connection connection,
WriteResult currentResult,
CompletionHandler completionHandler,
SocketAddress dstAddress,
Buffer buffer)
Performs real write on the NIO channel |
|
Future<ReadResult<Buffer,SocketAddress>> |
AbstractNIOConnection.read(Buffer buffer,
CompletionHandler<ReadResult<Buffer,SocketAddress>> completionHandler)
|
|
Future<ReadResult<Buffer,SocketAddress>> |
AbstractNIOAsyncQueueReader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,SocketAddress>> completionHandler,
Interceptor<ReadResult> interceptor)
Method reads data to the buffer. |
|
Future<RegisterChannelResult> |
NIOChannelDistributor.registerChannelAsync(SelectableChannel channel,
int interestOps,
Object attachment,
CompletionHandler completionHandler)
|
|
Future<RegisterChannelResult> |
RoundRobinConnectionDistributor.registerChannelAsync(SelectableChannel channel,
int interestOps,
Object attachment,
CompletionHandler completionHandler)
|
|
Future<RegisterChannelResult> |
SelectorHandler.registerChannelAsync(SelectorRunner selectorRunner,
SelectableChannel channel,
int interest,
Object attachment,
CompletionHandler<RegisterChannelResult> completionHandler)
|
|
Future<RegisterChannelResult> |
DefaultSelectorHandler.registerChannelAsync(SelectorRunner selectorRunner,
SelectableChannel channel,
int interest,
Object attachment,
CompletionHandler<RegisterChannelResult> completionHandler)
|
|
void |
DefaultSelectorHandler.SelectionKeyOperation.setCompletionHandler(CompletionHandler completionHandler)
|
|
Future<WriteResult<Buffer,SocketAddress>> |
AbstractNIOConnection.write(Buffer buffer,
CompletionHandler<WriteResult<Buffer,SocketAddress>> completionHandler)
|
|
Future<WriteResult<Buffer,SocketAddress>> |
AbstractNIOAsyncQueueWriter.write(Connection connection,
SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,SocketAddress>> completionHandler,
Interceptor<WriteResult> interceptor)
Method writes the buffer to the specific address. |
|
Future<WriteResult<Buffer,SocketAddress>> |
AbstractNIOAsyncQueueWriter.write(Connection connection,
SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,SocketAddress>> completionHandler,
Interceptor<WriteResult> interceptor,
MessageCloner<Buffer> cloner)
Method writes the Buffer to the specific address. |
|
| Uses of CompletionHandler in org.glassfish.grizzly.nio.tmpselectors |
|---|
| Methods in org.glassfish.grizzly.nio.tmpselectors with parameters of type CompletionHandler | |
|---|---|
Future<ReadResult<Buffer,SocketAddress>> |
TemporarySelectorReader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,SocketAddress>> completionHandler,
Interceptor<ReadResult> interceptor)
Method reads data to the buffer. |
Future<ReadResult<Buffer,SocketAddress>> |
TemporarySelectorReader.read(Connection connection,
Buffer buffer,
CompletionHandler<ReadResult<Buffer,SocketAddress>> completionHandler,
Interceptor<ReadResult> interceptor,
long timeout,
TimeUnit timeunit)
Method reads data to the message. |
Future<WriteResult<Buffer,SocketAddress>> |
TemporarySelectorWriter.write(Connection connection,
SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,SocketAddress>> completionHandler,
Interceptor<WriteResult> interceptor)
Method writes the buffer to the specific address. |
Future<WriteResult<Buffer,SocketAddress>> |
TemporarySelectorWriter.write(Connection connection,
SocketAddress dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,SocketAddress>> completionHandler,
Interceptor<WriteResult> interceptor,
long timeout,
TimeUnit timeunit)
Method writes the message to the specific address. |
| Uses of CompletionHandler in org.glassfish.grizzly.nio.transport |
|---|
| Classes in org.glassfish.grizzly.nio.transport that implement CompletionHandler | |
|---|---|
protected class |
TCPNIOServerConnection.RegisterAcceptedChannelCompletionHandler
|
protected class |
TCPNIOTransport.RegisterChannelCompletionHandler
|
protected class |
UDPNIOTransport.RegisterChannelCompletionHandler
|
| Uses of CompletionHandler in org.glassfish.grizzly.ssl |
|---|
| Methods in org.glassfish.grizzly.ssl with parameters of type CompletionHandler | |
|---|---|
protected Future<Integer> |
SSLStreamWriter.flush0(Buffer buffer,
CompletionHandler<Integer> completionHandler)
|
| Uses of CompletionHandler in org.glassfish.grizzly.streams |
|---|
| Classes in org.glassfish.grizzly.streams that implement CompletionHandler | |
|---|---|
static class |
AbstractStreamWriter.DisposeBufferCompletionHandler
|
protected class |
StreamReaderDecorator.FeederCompletionHandler
|
| Methods in org.glassfish.grizzly.streams with parameters of type CompletionHandler | |
|---|---|
Future<Integer> |
AbstractStreamWriter.close(CompletionHandler<Integer> completionHandler)
Close the StreamWriter and make sure all data was flushed. |
Future<Integer> |
StreamWriter.close(CompletionHandler<Integer> completionHandler)
Close the StreamWriter and make sure all data was flushed. |
protected Future |
StreamWriterDecorator.close0(CompletionHandler completionHandler)
|
protected abstract Future<Integer> |
AbstractStreamWriter.close0(CompletionHandler<Integer> completionHandler)
|
Future<Integer> |
AddressableStreamWriter.flush(A peerAddress,
CompletionHandler<Integer> completionHandler)
Flush data to the specific destination address. |
Future<Integer> |
AbstractStreamWriter.flush(CompletionHandler<Integer> completionHandler)
Cause the overflow handler to be called even if buffer is not full. |
Future<Integer> |
StreamWriter.flush(CompletionHandler<Integer> completionHandler)
Make sure that all data that has been written is flushed from the stream to its destination. |
protected abstract Future<Integer> |
AbstractStreamWriter.flush0(Buffer buffer,
CompletionHandler<Integer> completionHandler)
|
Future<Integer> |
StreamReader.notifyAvailable(int size,
CompletionHandler<Integer> completionHandler)
Method returns Future, using which it's possible check if
StreamReader has required amound of bytes available
for reading reading. |
Future<Integer> |
AbstractStreamReader.notifyAvailable(int size,
CompletionHandler<Integer> completionHandler)
Method returns Future, using which it's possible check if
StreamReader has required amound of bytes available
for reading reading. |
Future<Integer> |
StreamReader.notifyCondition(Condition<StreamReader> condition,
CompletionHandler<Integer> completionHandler)
Method returns Future, using which it's possible check if
StreamReader meets specific Condition. |
Future<Integer> |
StreamReaderDecorator.notifyCondition(Condition<StreamReader> condition,
CompletionHandler<Integer> completionHandler)
Method returns Future, using which it's possible check if
StreamReader meets specific Condition. |
protected Future<Integer> |
AbstractStreamWriter.overflow(CompletionHandler<Integer> completionHandler)
|
protected void |
AbstractStreamWriter.writeBuffer(Buffer b,
CompletionHandler completionHandler)
|
| Constructors in org.glassfish.grizzly.streams with parameters of type CompletionHandler | |
|---|---|
AbstractStreamReader.NotifyObject(FutureImpl<Integer> future,
CompletionHandler<Integer> completionHandler,
Condition<StreamReader> condition)
|
|
StreamReaderDecorator.FeederCompletionHandler(FutureImpl future,
CompletionHandler completionHandler)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||