|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
ConnectorHandler
ConnectorHandler
ConnectorHandler,
which corresponds to the protocol
ConnectorHandler based on the
Protocol requested.
ConnectorHandler
ConnectorHandler,
which is the TCPConnectorHandler
Channel
to be processed byReadController's
SelectorHandler
DefaultProtocolChain.EventHandler
SelectionKey
depending on its attachment
ProtocolFilter to this ProtocolChain
ProtocolFilter to the list.
ProtocolFilter to the list at position 'pos'.
SelectorHandler
Map-like collection, maps keys to values, where
single key could have queue of correspondent values.AsyncQueue data unitAsyncQueueWriter for pre processing data, which will be sent on a
SelectableChannel; or by AsyncQueueReader for
post processing data, which were read from a SelectableChannel.ByteBuffer
asynchronously, using queue.AsyncQueueWriter
AsyncQueueReader task, which will be executed by
Context, when Context.execute(ContextTask)
is called.AsyncQueue write data unitByteBuffer data asynchronously,
using queue.AsyncQueueWriter
AsyncQueueWriter task, which will be executed by
Context, when Context.execute(ContextTask)
is called.AsyncQueue write data unitAsyncQueueReader to notify
custom code either about completion of specific ByteBuffer reading
or about IO problem, which occured when reading data to a ByteBufferAsyncQueueReader was able to read new portion of data from
SelectableChannel, whoch is associated with a
SelectionKey.AsyncQueueWriter to notify
custom code either about completion of specific ByteBuffer writing
or about IO problem, which occured when writing ByteBufferController instance
SelectorHandler instance
Role, depending on isClient value
AsyncQueueWriter, when ByteBuffer
could not be written directly, and will be added to the queue.ConnectorInstanceHandler which use a
ConcurrentQueue to pool CacheableConnectorHandlerCallbackHandler handler invoked by the UDPSelectorHandler
when a non blocking operation is ready to be processed.
CallbackHandler task, which will be executed by
Context, when Context.execute(ContextTask)
is called.CallbackHandler descriptor.SelectionKey attachment, which wraps CallbackHandlerContext.suspend()ed Context.
NIOContext.suspend()ed Context.
ReadableChannel and it associated SelectionKey
ByteBuffer,
is read completely, or custom code expects more data.
AsyncQueueReader and release its resources
AsyncQueueWriter and release its resources
AsyncQueueReader and release its resources
AsyncQueueWriter and release its resources
SelectableChannel
SelectableChannel
SelectorHandler does.Context
NIOContext.currentOpType based on the
SelectionKey.readyOps() values.
ConnectorHandlersConnectorHandler
instance creation.ProtocolFilter implementation.SelectionKey's registration state.SelectionKey.OP_XXXX.Context, when
Context.execute(ContextTask) is called.ControllerStateListenerCallbackHandler to the SelectionKey
CallbackHandler will not be attached directly, but wrapped with
CallbackHandlerSelectionKeyAttachment
Context.
Context.
CallbackHandler implementation that implements the connect
operations, and delegate the read and write operations to its associated
SelectorHandler ProtocolChain, like the default
SelectorHandler is doing server side component.CallbackHandler that delegate the read and write
operation to the ProtocolChain associated with the
ConnectorHandler
CallbackHandler that delegate the read and write
operation to the ProtocolChain associated with the
ConnectorHandler.
ConnectorHandlerPool implementationProtocolChainConnectionCloseHandler ,
if SelectionKey.attachment() instanceof SelectionKeyAttachment then
its release method is called.
SelectionKey to handle certain operations
SelectionKey to handle certain operations
DefaultProtocolChain.EventHandlers, which will be notified about this
ProtocolChain events
ProtocolFilter in the ProtocolChain.
ByteBuffer and delegate
the processing of them to the next ProtocolFilter in the ProtocolChain.
Context instance.
SelectionKey set.
SelectionKey set.
SelectionKey set.
SuspendableFilter.suspend(java.lang.String))
SelectableChannel, associated with the
given SelectionKey
SelectableChannel, associated with the
given SelectionKey
SelectableChannel, associated with the
given SelectionKey
SelectableChannel, associated with the
given SelectionKey
AsyncQueueReadable, assciated with the current
Context.
AsyncQueueReader associated with this
SelectorHandler.
AsyncQueueReader associated with this
SelectorHandler.
AsyncQueueWritable, assciated with the current
Context.
AsyncQueueWritable, assciated with the current
Context.
AsyncQueueWriter associated with this
SelectorHandler.
AsyncQueueWriter associated with this
SelectorHandler.
AttributeHolder, which corresponds to the
given Context.AttributeScope>
AttributeHolder, which corresponds to the
given AttributeScope>
Map of attribute name/value pairs.
Map of attribute name/value pairs.
Map of attribute name/value pairs.
Map of attribute name/value pairs.
ConnectionCache.
ConnectorHandler's callback handler instance,
which is used to process occuring events
CallbackHandler.
CallbackHandler.
CallbackHandler.
ConnectionClosedHandler.
ConnectorHandlerPool used.
ConnectorInstanceHandler corresponding to the protocol
Controller
Controller.
Controller.
Controller
Controller
Controller
SelectionKey interest ops this instance is executing.
SelectionKey interest ops this instance is executing.
SSLEngine
is initialized.
SSLEngine
is initialized.
Handler
ByteBuffer.
IOEvent associated with this
instance.
IOEvent associated with this
instance.
SelectionKey's next registration state, or null
if not supported.
SelectionKey's next registration state.
SelectorHandler is listening on
Similar to getPort(), but getting port number directly from
connection (ServerSocket, DatagramSocket).
Controller#Protocol this instance is executing.
Controller#Protocol this instance is executing.
ProtocolChain executed by this instance.
ProtocolChain executed by this instance.
ProtocolChain instance, which is always
returned via StatelessProtocolChainInstanceHandler#poll().
ProtocolChainInstanceHandler
ProtocolChainInstanceListener associated with this
Context
ProtocolChainInstanceHandler
ProtocolChainInstanceHandler
ReadFilter will try to read a data
from a channel.
SelectorHandler current role.
SSLConnectorHandler's secured input buffer, it
uses for reading data from a socket channel.
SSLConnectorHandler's secured output buffer, it
uses for writing data to a socket channel.
SelectionKey or null if
{@link SelectionKey aren't supported.
SelectionKey.
SelectionKeyHandler
Method is deprecated. Use SelectorHandler.getSelectionKeyHandler() instead
SelectorHandler
SelectorHandler, which manages this
ConnectorHandler
SelectorHandler this instance is executing, or
null if not supported.
SelectorHandler associated with the protocol.
SelectorHandler associated
with the Selector.
SelectorHandler
SelectorHandler.
SelectorHandler.
SelectorHandler.
SelectorHandler's clone, registered
on thisReadController
SelectorHandler
SSLContext
SSLEngine
Controller's StateHolder
ExecutorService executing this instance.
ExecutorService (Thread Pool) used by this Controller.
ExecutorService executing this instance.
ExecutorService used to execute this
SelectorHandler's SelectionKey ops
ExecutorService used to execute this
SelectorHandler's SelectionKey ops
ConnectorHandler's underlying channel
SocketChannel used.
SocketChannel used.
SocketChannel used.
ByteBuffer given
to this ProtocolParser's ProtocolParser#startBuffer() ?
This method is typically called after processing the protocol message,
to determine if the ByteBuffer has more bytes which
need to parsed into a next message.
ProtocolParser.getNextMessage().
WorkerThread to
indicate that this Context should not be
Context.recycle() or offered back to its pool.
WorkerThread to
indicate that this Context should not be
NIOContext.recycle() or offered back to its pool.
SelectionKey operation registries
InputStream that use a pool of Selector
to execute a blocking read operation.
cancel())
AsyncQueueReader
AsyncQueueWriter
ProtocolParser.
CallbackHandler with an instance of
this class.ExecutorService can
re-execute its ProtocolFilter after a successful execution.
ExecutorService can
re-execute its ProtocolFilter after a successful execution.
ExecutorService can
re-execute its ProtocolFilter after a successful execution.
ProtocolChain is enabled.
K key related queue is empty.
ProtocolParser.hasNextMessage() to determine if the
ByteBuffer which has been parsed contains a partial message
AsyncQueueReader is registered
for the SelectableChannel, associated with the given
SelectionKey
AsyncQueue ready
to be written to the SelectableChannel, associated with the
given SelectionKey
AsyncQueueReader is registered
for the SelectableChannel, associated with the given
SelectionKey
AsyncQueue ready
to be written to the SelectableChannel, associated with the
given SelectionKey
#resumed
SelectorHandler
suspend.
suspend.
Logger used by this Controller.
getNextMessage for
use by downstream filters
SSLEngine
ProtocolFilter implementation.DefaultProtocolChain.EventHandlers about exception, which occured
ConnectionCloseHandler that a remote connection
has been closed.
AsyncQueue, corresponding to the given
E key
SelectorHandler to
notify, that given SelectableChannel is going to be closed, so
related data could be released from
AsyncQueueReader
SelectorHandler to
notify, that given SelectableChannel is going to be closed, so
related SelectableChannel data could be released from
AsyncQueue
SelectorHandler to
notify, that given SelectableChannel is going to be closed, so
related data could be released from
AsyncQueueReader
SelectorHandler to
notify, that given SelectableChannel is going to be closed, so
related SelectableChannel data could be released from
AsyncQueue
AsyncQueueReader, if
error occured when reading from the SelectableChannel,
which is associated with SelectionKey
AsyncQueueWriter, if
error occured when writing ByteBuffer to the
SelectableChannel, associated with SelectionKey
SelectorHandler to
notify, that SelectableChannel, associated with the given
SelectableChannel has ready data for reading.
SelectorHandler to
notify, that SelectableChannel, associated with the given
SelectableChannel has ready data for reading.
AsyncQueueReader, if
data was read to the ByteBuffer from the
SelectableChannel, associated with SelectionKey,
and read data confirms to the user-specific condition (if any was set).
SelectorHandlers were initialized
SelectorHandler to
notify, that SelectableChannel, associated with the given
SelectionKey is ready to transmit data.
SelectorHandler to
notify, that SelectableChannel, associated with the given
SelectionKey is ready to transmit data.
AsyncQueueWriter, if
whole ByteBuffer data was written to the
SelectableChannel, associated with SelectionKey
SelectionKeyOP to register next time the
Selector.select is invoked.
Controller and associated SelectorHandlers
SelectorHandler
SelectorHandler
E key related queue.
K key related queue.
ProtocolChain instance.
Context
NIOContext
Context from pool and initializes it.
SelectionKey post process notification
SelectionKey post process notification
SelectionKey post process notification
Selector.select(long), make sure the ServerSocketChannel
has been created.
SelectionKey process notification
SelectionKey process notification
SelectionKey process notification
ProtocolChain result attribute name.
ProtocolChain instance.
ProtocolChain task, which will be executed by
Context, when Context.execute(ContextTask)
is called.ProtocolChainInstruction contains the instruction for a
ProtocolChain, how it should continue the invokation.Controller,
which is not itself independent.ProtocolFilter implementation which read the available bytes
and delegate the processing to the next ProtocolFilter in the ProtocolChain.ByteBuffer using async read queue.
ByteBuffer using async read queue.
ByteBuffer using async read queue.
ByteBuffer using async read queue.
ByteBuffer using async read queue.
ByteBuffer using async read queue.
ByteBuffer using async read queue.
ByteBuffer using async read queue.
ByteBuffer using async read queue.
ByteBuffer using async read queue.
ByteBuffer using async read queue.
ByteBuffer using async read queue.
Controllers to be used for reading
SelectorHandlers, which
are ready to process
SelectionKey on Selector.
SelectableChannel on Selector.
SelectionKeys.
SelectionKeys.
SelectionKey on Selector.
SelectableChannel on Selector.
SelectionKey on Selector.
SelectableChannel on Selector.
SelectionKeys.
SelectableChannel on the Selector.
ProtocolChain reinvokation.CacheableConnectorHandler, however this
CacheableConnectorHandler will be still interested in getting
expectedResponseCount responses on it.
ConnectorHandler
ConnectorHandler
ProtocolParser#startBuffer().
ConnectorHandler to the pool of ConnectorHandler.
K key related queue.
DefaultProtocolChain.EventHandler.
ProtocolFilter from this chain.
SelectorHandler and removes it from this
Controller list
SelectorHandler's clone, registered
on thisReadController
Context.suspend()ed Context.
Controller and associated SelectorHandlers
NIOContext.suspend()ed Context.
SelectorHandler
SelectorHandler
resume())
Context to its pool if it is not shared.
ContextTasks, which are dealing with
SelectionKeysSelectorHandler
SelectorHandlerSelectorHandlers used by this instance.
Map of attribute name/value pairs.
Map of attribute name/value pairs.
Map of attribute name/value pairs.
Map of attribute name/value pairs.
ConnectorHandler's callback handler instance,
which is used to process occuring events
CallbackHandler.
CallbackHandler.
CallbackHandler.
ConnectionClosedHandler
ConnectorHandlerPool used.
ExecutorService can
re-execute its ProtocolFilter(s) after a successful execution.
ExecutorService can
re-execute its ProtocolFilter(s) after a successful execution.
ExecutorService can
re-execute its ProtocolFilter(s) after a successful execution.
Controller associated with this instance.
Controller.
Controller to use with this instance.
Controller to use with this instance.
Controller to use with this instance.
ProtocolChain true> to enable delagation of the read and write operations
to a ProtocolChain
SSLEngine
is initialized.
SSLEngine
is initialized.
SelectionKey's next registration state
SelectionKey's next registration state
ProtocolChain used by this Context.
ProtocolChain used by this Context.
ProtocolChain instance, which will be always
returned via StatelessProtocolChainInstanceHandler#poll().
ProtocolChainInstanceHandler to use for
creating instance of ProtocolChain.
ProtocolChainInstanceHandler to use for
creating instance of ProtocolChain.
ProtocolChainInstanceHandler to use for
creating instance of ProtocolChain.
ReadFilter will try to read a data
from a channel.
SelectorHandler current role.
SelectionKey.
SelectionKeyHandler to use for managing the life
cycle of SelectionKey.
Method is deprecated. Use SelectorHandler.setSelectionKeyHandler() instead
Selector
SelectorHandler
SelectorHandler
SelectorHandler this instance is executing.
SelectorHandler
SSLContext.
SSLEngine
ExecutorService that will execute this instance.
ExecutorService (Thread Pool).
ExecutorService that will execute this instance.
ExecutorService used to execute this
SelectorHandler's SelectionKey ops
ExecutorService used to execute this
SelectorHandler's SelectionKey ops
SocketChannel.
SocketChannel.
ProtocolChainInstanceHandler.K key related queue.
SSLContext associated with the SSL implementation
we are running on.
AsyncQueueWriterController state
SelectorHandler StateHolder, which is shared among
SelectorHandler and its clones
Controller state listeners, which
will are notified on Controller state change.
SelectorHandlers, which stopped
Context.
Context.
ReadableChannel represented by this SuspendableFilter.KeyHandler
by registering it on secondary Selector.
SuspendableFilter@#suspend
An instance of that class can be used to resume or cancel a suspended connection.ProtocolChainDefaultProtocolChain
from position SuspendableFilter.nextFilterPosition
SuspendableHandler with add some connection
state.Selector used to keep the state of a suspended
connection (SelectionKey).SelectionKey.
AsyncQueueWriterExecutorService used by this instance.
AsyncQueueWriterSelectorHandlers will
not get stopped
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).
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).
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).
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).
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).
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).
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).
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).
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).
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).
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).
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).
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).
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).
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).
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).
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).
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
ByteBuffer using async write queue.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||