Package com.sun.grizzly

Interface Summary
Buffer<K> JDK ByteBuffer was taken as base for Grizzly Buffer interface, but Buffer has several extensions: it's possible to prepend some data to a Buffer and release Buffer, when it's not required any more.
Codec<K,L> Codec is able to transform the original message to a custom represantation and vise versa.
CompletionHandler<E> Interface, which will be used by Grizzly to notify about asynchronous I/O operations status updates.
Connection<L> Common interface, which represents any kind of connection.
Interceptor<R> Handler, which is used to finer control Readable.read(...).
PostProcessor<E extends Context> Post processor, which will be called once Processor will complete its execution.
Processor<E extends Context> Processor implementations are responsible for processing I/O events, which occur on connection.
ProcessorExecutor Executor, which is reponsible for running ProcessorRunnable.
ProcessorSelector Implementations of the interface will be responsible to find correct Processor, which will process IOEvent, occurred on the Connection
Readable<L> Implementatios of this interface are able to read data from internal source to a Buffer.
Reader<L> Implementatios of this interface are able to read data from Connection to a Buffer.
Result Common I/O result interface.
SocketAcceptor Common interface for SocketAcceptor implementations.
SocketBinder Common API for Socket based Transports, which are able to bind server Socket to specific address and listen for incoming data.
SocketConnectorHandler Socket based client side connector.
Strategy<E> Strategy is responsible for making decision how ProcessorRunnable task will be run: in current thread, worker thread.
Transformer<K,L> Transformer interface, which knows how to transform the original data to some custom representation.
Transport Transport interface describes the transport unit used in Grizzly.
Writable<L> Implementatios of this interface are able to write data from a Buffer.
Writer<L> Implementatios of this interface are able to write data from a Buffer to Connection.
 

Class Summary
AbstractProcessor<E extends Context> Abstract Processor interface implementation.
AbstractReader<L> Abstract class, which provides transitive dependencies for overloaded Reader#read(...) methods.
AbstractSocketConnectorHandler Abstract class simplifies the implementation of SocketConnectorHandler interface by preimplementing some of its methods.
AbstractTransformer<K,L>  
AbstractTransport Abstract Transport.
AbstractWriter<L> Abstract class, which provides transitive dependencies for overloaded Writer#read(...) methods.
ChainProcessorSelector ProcessorSelector implementation, which acts like wrapper for chain of ProcessorSelectors.
CompletionHandlerAdapter<E> Adapter for CompletionHandler interface, which has empty implementation for all callback methods.
Context Object, which is responsible for holding context during I/O event processing.
DefaultProcessorSelector Default ProcessorSelector implementation, which uses Connection's Processor preferences.
Grizzly Class contains information about Grizzly framework.
ProcessorResult The interface represents the result of Processor execution.
ProcessorRunnable Runnable task, which encapsulates Processor execution information and actually runs Processor to process occured IOEvent.
ReadResult<K,L> Result of read operation, retuned by Readable.
StandaloneProcessor Processor, which is not interested in processing I/O events.
StandaloneProcessorSelector ProcessorSelector, which doesn't add any Processor to process occurred IOEvent.
TransformationResult<T> Represents the result of message encoding/decoding.
TransportFactory Factory, responsible for creating and initializing Grizzly Transports.
WriteResult<K,L> Result of write operation, retuned by Writable.
 

Enum Summary
IOEvent Enumeration represents the I/O events, occured on a Connection.
ProcessorResult.Status Enum represents the status/code of ProcessorResult.
TransformationResult.Status  
Transport.State  
 

Exception Summary
TransformationException Describes the problem, occured during original message transformation.
 



Copyright © 2009 SUN Microsystems. All Rights Reserved.