Package com.sun.grizzly

Interface Summary
CallbackHandler<E> Callback handler for non blocking client operations.
CallbackHandlerDescriptor Class represents CallbackHandler descriptor.
ComplexSelectorHandler A ComplexSelectorHandler handles all java.nio.channels.Selector operations similar way SelectorHandler does.
ConnectorHandler<E extends SelectorHandler,P extends CallbackHandler> Client side interface used to implement non blocking client operation.
ConnectorHandlerPool<E extends ConnectorHandler> Interface representing ConnectorHandler pool Implementation of this interface will be responsible for allocating/releasing client side ConnectorHandlers
ConnectorInstanceHandler<E extends ConnectorHandler> This interface is responsible of handling ConnectorHandler instance creation.
Context This interface is used to share information between the Grizzly Framework classes and ProtocolFilter implementation.
Controller.KernelExecutorFactory  
ControllerStateListener Controller state listener interface.
DefaultProtocolChain.EventHandler Interface, which introduces handler, which will be notified about event, happened on ProtocolChain
Handler Marker interface.
IOEvent<E> When a non blocking operation occurs, the SelectorHandler implementation will invoke an instance of CallbackHandler with an instance of this class.
Lifecycle Simple Life cycle interface used to manage Grizzly component.
LinuxSpinningWorkaround Workaround for Linux spinning Selector.
ProtocolChain This class implement the "Chain of Responsibility" pattern (for more info, take a look at the classic "Gang of Four" design patterns book).
ProtocolChainInstanceHandler An ProtocolChainInstanceHandler is where one or several ProtocolChain are created and cached.
ProtocolFilter A ProtocolFilter encapsulates a unit of processing work to be performed, whose purpose is to examine and/or modify the state of a transaction that is represented by a ProtocolContext.
ProtocolParser<T> An interface that knows how to parse bytes into a protocol data unit.
ReinvokeAware The common interface, for objects, which could have influence on a ProtocolChain reinvokation.
SelectionKeyHandler A SelectionKeyHandler is used to handle the life cycle of a SelectionKey.
SelectorHandler A SelectorHandler handles all java.nio.channels.Selector operations.
SelectorHandlerTask Task, which may be registered on SelectorHandler and executed in a Selector thread.
SSLCallbackHandler<E> This class extends the CallbackHandler functionalities by exposing the onHandshake method.
 

Class Summary
AbstractConnectorHandler<E extends SelectorHandler,K extends CallbackHandler> Abstract ConnectorHandler definition, which preimplements common getter/setter methods.
BaseSelectionKeyHandler This class is an implementation of a SelectionKeyHandler which does not use the SelectionKey attachment, does not expire keys or utilize a keep-alive mechanism.
CallbackHandlerContextTask CallbackHandler task, which will be executed by Context, when Context.execute(ContextTask) is called.
CallbackHandlerSelectionKeyAttachment SelectionKey attachment, which wraps CallbackHandler
ConnectorInstanceHandler.ConcurrentQueueConnectorInstanceHandler<E extends ConnectorHandler> Concurrent Queue ConnectorInstanceHandler implementation
ConnectorInstanceHandler.ConcurrentQueueDelegateCIH<E extends ConnectorHandler> Concurrent Queue ConnectorInstanceHandler implementation
ContextTask Task, which will be executed by Context, when Context.execute(ContextTask) is called.
Controller Main entry point when using the Grizzly Framework.
Controller.KernelExecutorFactory.DefaultFactory  
ControllerStateListenerAdapter Empty implementation of ControllerStateListener
DefaultCallbackHandler Default 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.
DefaultConnectorHandlerPool Simple ConnectorHandlerPool implementation
DefaultProtocolChain Default ProtocolChain implementation.
DefaultProtocolChainInstanceHandler Default implementation of an ProtocolChainInstanceHandler.
DefaultSelectionKeyHandler Default implementation of a SelectionKey Handler.
Dummy  
IOEvent.DefaultIOEvent<E> Simple IOEvent implementation
NIOContext This Object is used to share information between the Grizzly Framework classes and ProtocolFilter implementation.
PortRange Immutable class representing a port range.
ProtocolChainContextTask ProtocolChain task, which will be executed by Context, when Context.execute(ContextTask) is called.
ReadController ReadController class represents Controller, which is not itself independent.
ReusableTCPSelectorHandler This class extends a TCP implementation of a SelectorHandler and reuses the accepted SocketChannel if a user tries to connect the same remote address.
ReusableUDPSelectorHandler This class extends a UDP implementation of a SelectorHandler and reuses the opened DatagramChannel if a user tries to connect any remote addresses.
RoundRobinSelectorHandler A SelectorHandler handles all java.nio.channels.Selector operations.
SelectionKeyContextTask Basic class for all ContextTasks, which are dealing with SelectionKeys
SelectorHandlerFactory This class helps users to create a proper SelectorHandler which corresponds to its protocol and reusableness.
SelectorHandlerRunner Class is responsible for processing certain (single) SelectorHandler
SingleProtocolChainInstanceHandler Implementation of an ProtocolChainInstanceHandler.
SSLConfig SSL configuration helper.
SSLConnectorHandler Non blocking SSL Connector Handler.
SSLSelectorHandler A SelectorHandler handles all java.nio.channels.Selector operations.
TCPConnectorHandler Non blocking TCP Connector Handler.
TCPSelectorHandler A SelectorHandler handles all java.nio.channels.Selector operations.
UDPConnectorHandler Client side interface used to implement non blocking client operation.
UDPSelectorHandler A SelectorHandler handles all java.nio.channels.Selector operations.
 

Enum Summary
Context.AttributeScope  
Context.KeyRegistrationState A SelectionKey's registration state.
Context.OpType The list of possible SelectionKey.OP_XXXX.
Controller.Protocol  
DefaultProtocolChain.Phase  
ProtocolChainInstruction The ProtocolChainInstruction contains the instruction for a ProtocolChain, how it should continue the invokation.
Role The transport role
 



Copyright © 2012 Oracle Corporation. All Rights Reserved.