Package org.glassfish.grizzly
package org.glassfish.grizzly
-
ClassDescriptionBuilderAbstract class, which provides transitive dependencies for overloaded
Reader
methods.Abstract class simplifies the implementation ofSocketConnectorHandler
interface by pre-implementing some of its methods.BuilderAbstractTransformer<K,L> AbstractTransport
.Abstract class, which provides transitive dependencies for overloadedWriter
methods.Appendable<T>Appender<E>JDKByteBuffer
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.ProcessorSelector
implementation, which acts like wrapper for chain ofProcessorSelector
s.General asynchronous closable interface.The listener, which is used to be notified, when Connection gets closed.An object, describing the reason whyConnection
was closed.Codec<K,L> Codec is able to transform the original message to a custom represantation and vise versa.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.Deprecated.Deprecated.useCloseType
Monitoring probe providing callbacks that may be invoked by GrizzlyConnection
implementations.ConnectionProbe
adapter that provides no-op implementations for all interface methods allowing easy extension by the developer.Client side connector handler API.Object, which is responsible for holding context during I/O event processing.General interface for the objects, that could be copied/cloned.Empty implementation forCompletionHandler
interface.A simple class that abstractsFileChannel.transferTo(long, long, java.nio.channels.WritableByteChannel)
for use with Grizzly 2.0AsyncQueueWriter
.Deprecated.Interface to notify interested parties that aTransport
is being shutdown.Class contains information about Grizzly framework.GrizzlyFuture
implementation.Deprecated.This interface defines methods to allow anInputStream
orReader
to notify the developer when and how much data is ready to be read without blocking.Interceptor<R>Handler, which is used to finer controlReadable
.Enumeration represents the I/O events, occurred on aConnection
.EmptyIOEventLifeCycleListener
implementation.strategy is responsible for making decision howRunnable
task will be run: in current thread, worker thread.NIOTransportBuilder<T extends NIOTransportBuilder>This builder is responsible for creatingNIOTransport
implementations as well as providing basic configuration forIOStrategies
and thread pools.This interface defines methods to allow anOutputStream
orWriter
to allow the developer to check with the runtime whether or not it's possible to write a certain amount of data, or if it's not possible, to be notified when it is.Thrown when an attempt is made to add a record that exceeds the configured maximum queue size.Immutable class representing a port range.Processor implementations are responsible for processing I/O events, which occur on connection.The interface represents the result ofProcessor
execution.Enumeration represents the status/code ofProcessorResult
.Implementations of the interface will be responsible to find correctProcessor
, which will processIOEvent
, occurred on theConnection
Readable<L>Implementations of this interface are able to read data from internal source to aBuffer
.Reader<L>Implementations of this interface are able to read data fromConnection
to aBuffer
.This class represents a call-back mechanism that will notify implementations as more input data becomes available to read without blocking.ReadResult<K,L> Result of read operation, returned byReadable
.Common I/O result interface.This class will be passed toGracefulShutdownListener
instances registered against aTransport
.Common interface for SocketAcceptor implementations.Socket based client side connector.Processor
, which is not interested in processing I/O events.Describes the problem, occured during original message transformation.TransformationResult<I,O> Represents the result of message encoding/decoding.Transformer<K,L> Transformer interface, which knows how to transform the original data to some custom representation.Transport interface describes the transport unit used in Grizzly.Monitoring probe providing callbacks that may be invoked by GrizzlyTransport
implementations.TransportProbe
adapter that provides no-op implementations for all interface methods allowing easy extension by the developer.Writeable<L>Implementations of this interface are able to write data from aBuffer
.Callback notification mechanism that signals the developer it's possible to write content.Writer<L>Implementations of this interface are able to write data from aBuffer
toConnection
.Write reentrants counterWriteResult<K,L> Result of write operation, returned byWriteable
.
CloseListener