|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
ConnectorHandler definition, which preimplements common
getter/setter methods.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, which 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
socket to endpoint.
- bind(Socket, InetSocketAddress) -
Method in class com.sun.grizzly.PortRange
- Binds
socket to endpoint.
- bind(ServerSocket, InetAddress, int) -
Method in class com.sun.grizzly.PortRange
- Binds
socket to address.
- bind(Socket, InetAddress) -
Method in class com.sun.grizzly.PortRange
- Binds
socket to address.
- bind(DatagramSocket, InetAddress) -
Method in class com.sun.grizzly.PortRange
- Binds
socket to address.
- bind(DatagramSocket) -
Method in class com.sun.grizzly.PortRange
- Binds
socket to the wildcard
address.
- bind(ServerSocket, int) -
Method in class com.sun.grizzly.PortRange
- Binds
socket to the wildcard
address.
- bind(Socket) -
Method in class com.sun.grizzly.PortRange
- Binds
socket to the wildcard
address.
- boolean2Role(boolean) -
Static method in class com.sun.grizzly.TCPSelectorHandler
- Returns the
Role, depending on isClient value
- byteBuffer -
Variable in class com.sun.grizzly.async.AsyncQueueReadUnit
-
- byteBuffer -
Variable in class com.sun.grizzly.async.AsyncQueueWriteUnit
-
- byteBufferCloner -
Variable in class com.sun.grizzly.async.AsyncQueueWriteUnit
-
- ByteBufferCloner - Interface in com.sun.grizzly.async
- Cloner, which will be called by
AsyncQueueWriter, when ByteBuffer
could not be written directly, and will be added to the queue. - bytesProcessed -
Variable in class com.sun.grizzly.async.OperationResult
-
ConnectorInstanceHandler which use a
ConcurrentQueue to pool CacheableConnectorHandlerCallbackHandler handler invoked by the SelectorHandler
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 CallbackHandlerCallbackHandler to the SelectionKey
CallbackHandler will not be attached directly, but wrapped with
CallbackHandlerSelectionKeyAttachment
Context.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
SelectableChannel
SelectableChannel
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.ControllerStateListenerExecutorService used to execute kernel operations.
ExecutorService used to execute kernel like operations.
SelectorHandler, which corresponds to the protocol and reusable
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.
Controller.run() using the internal/kernel
Executors
Runnable using the internal kernel
Executors.
SelectionKey set.
SelectionKey set.
SuspendableFilter.suspend(java.lang.String))
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.
CallbackHandler.
ConnectorHandler's callback handler instance,
which is used to process occuring events
ConnectorHandlerPool used.
ConnectorInstanceHandler corresponding to the protocol
Controller
Controller
Controller.
Controller.
SelectionKey interest ops this instance is executing.
SelectionKey interest ops this instance is executing.
SSLEngine
is initialized.
SSLEngine
is initialized.
SelectionKey
depending on its attachment
Handler
ByteBuffer.
IOEvent associated with this
instance.
IOEvent associated with this
instance.
ExecutorServices.
SelectionKey's next registration state, or null
if not supported.
SelectionKey's next registration state.
getPort
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's clone, registered
on thisReadController
SelectorHandler
Selector spinrate
Selector spinrate
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
SelectableChannel used.
ConnectorHandler's underlying channel
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.
InputStream that use a pool of Selector
to execute a blocking read operation.
cancel())
AsyncQueueReader
AsyncQueueWriter
ProtocolParser.
CallbackHandler with an instance of
this class.Context instance cached/pooled or a new instance gets created
for every transaction?
ReadController and its associated thread pool size.
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
#resumed
SelectorHandler
suspend.
suspend.
SelectionKey, which represents binding between
the SelectableChannel and this SelectorHandler
SelectionKey, which represents binding between
the SelectableChannel and this SelectorHandler
Selector.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.
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
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.
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.
AsyncQueueWriter, if
whole ByteBuffer data was written to the
SelectableChannel, associated with SelectionKey
OutboundConnectionFactory is pluggable factory, responsible for
creating and initializing OutboundConnectionCache.Controller and associated SelectorHandlers
SelectorHandler
SelectorHandler
E key related queue.
K key related queue.
ProtocolChain instance.
NIOContext
Context from pool and initializes it.
SelectionKey post process notification
SelectionKey post process notification
Selector.select(long), make sure the ServerSocketChannel
has been created.
SelectionKey process notification
SelectionKey process notification
Controller.Protocol.
Controller.Protocol.
Controller.Protocol.
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.
Controllers to be used for reading
SelectorHandlers, which
are ready to process
SelectionKeys.
SelectionKey on Selector.
SelectableChannel on Selector.
SelectionKey on Selector.
SelectableChannel on Selector.
SelectableChannel on Selector.
SelectionKeys.
SelectableChannel on the Selector.
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.
ConnectionCloseHandler from a set.
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.
SelectorHandler
and reuses the accepted SocketChannel if a user tries to connect the same remote address.SelectorHandler
and reuses the opened DatagramChannel if a user tries to connect any remote addresses.ContextTasks, which are dealing with
SelectionKeysSelectorHandler
SelectorHandler which corresponds to its protocol and reusableness.SelectorHandlerSelectorHandlers used by this instance.
SelectorHandler and executed in a
Selector thread.SelectionKeyOP to register next time the
Selector.select is invoked.
Context.
Map of attribute name/value pairs.
Map of attribute name/value pairs.
Map of attribute name/value pairs.
Map of attribute name/value pairs.
ReadController and its associated thread pool size.
CallbackHandler.
ConnectorHandler's callback handler instance,
which is used to process occuring events
ConnectionCloseHandler to a set.
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 to use with this instance.
Controller associated with this instance.
Controller.
ProtocolChain true> to enable delagation of the read and write operations
to a ProtocolChain
SSLEngine
is initialized.
SSLEngine
is initialized.
ExecutorServices.
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.
receiveBufferSize to the specified value
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
sendBufferSize to the specified value
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
SelectionKey.
SelectableChannel.
ProtocolChainInstanceHandler.K key related queue.
SSLContext associated with the SSL implementation
we are running on.
AsyncQueueWriterSelectorHandlerRunner
Controller 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
SelectorHandler is supported on client-side by RoundRobinSelectorHandler
SelectorHandler is supported on client-side by RoundRobinSelectorHandler
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.
AsyncQueueWriterSSLConfig configuration.
SSLConfig configuration.
SelectorHandlers 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 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.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||