Package org.jboss.netty.channel

The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.

See:
          Description


Interface Summary
Channel A nexus to a network socket or a component which is capable of I/O operations such as read, write, connect, and bind.
ChannelConfig A set of configuration properties of a Channel.
ChannelDownstreamHandler Handles or intercepts a downstream ChannelEvent, and sends a ChannelEvent to the next handler in a ChannelPipeline.
ChannelEvent An I/O event or I/O request associated with a Channel.
ChannelFactory The main interface to a transport that creates a Channel associated with a certain communication entity such as a network socket.
ChannelFuture The result of an asynchronous Channel I/O operation.
ChannelFutureListener Listens to the result of a ChannelFuture.
ChannelHandler Handles or intercepts a ChannelEvent, and sends a ChannelEvent to the next handler in a ChannelPipeline.
ChannelHandlerContext Provides the properties and operations which are specific to a ChannelHandler and the ChannelPipeline it belongs to.
ChannelPipeline A list of ChannelHandlers which handles or intercepts ChannelEvents of a Channel.
ChannelPipelineFactory Creates a new ChannelPipeline for a new Channel.
ChannelSink Receives and processes the terminal downstream ChannelEvents.
ChannelStateEvent A ChannelEvent which represents the change of the Channel state.
ChannelUpstreamHandler Handles or intercepts an upstream ChannelEvent, and sends a ChannelEvent to the next handler in a ChannelPipeline.
ChildChannelStateEvent A ChannelEvent which represents the notification of the state of a child Channel.
ExceptionEvent A ChannelEvent which represents the notification of an exception raised by a ChannelHandler or an I/O thread.
LifeCycleAwareChannelHandler A ChannelHandler that is notified when it is added to or removed from a ChannelPipeline.
MessageEvent A ChannelEvent which represents the transmission or reception of a message.
ReceiveBufferSizePredictor Predicts the number of readable bytes in the receive buffer of a Channel.
ServerChannel A Channel that accepts an incoming connection attempt and creates its child Channels by accepting them.
ServerChannelFactory A ChannelFactory that creates a ServerChannel.
WriteCompletionEvent A ChannelEvent which represents the notification of the completion of a write request on a Channel.
 

Class Summary
AbstractChannel A skeletal Channel implementation.
AbstractChannelSink A skeletal ChannelSink implementation.
AbstractServerChannel A skeletal server-side Channel implementation.
AdaptiveReceiveBufferSizePredictor The ReceiveBufferSizePredictor that automatically increases and decreases the predicted buffer size on feed back.
ChannelLocal<T> A global variable that is local to a Channel.
Channels A helper class which provides various convenience methods related with Channel, ChannelHandler, and ChannelPipeline.
CompleteChannelFuture A skeletal ChannelFuture implementation which represents a ChannelFuture which has been completed already.
DefaultChannelConfig The default SocketChannelConfig implementation.
DefaultChannelFuture The default ChannelFuture implementation.
DefaultChannelPipeline The default ChannelPipeline implementation.
DefaultChildChannelStateEvent The default ChildChannelStateEvent implementation.
DefaultExceptionEvent The default ExceptionEvent implementation.
DefaultServerChannelConfig The default ServerSocketChannelConfig implementation.
DefaultWriteCompletionEvent The default WriteCompletionEvent implementation.
DownstreamChannelStateEvent The default downstream ChannelStateEvent implementation.
DownstreamMessageEvent The default downstream MessageEvent implementation.
FailedChannelFuture The CompleteChannelFuture which is failed already.
FixedReceiveBufferSizePredictor The ReceiveBufferSizePredictor that always yields the same buffer size prediction.
SimpleChannelDownstreamHandler A ChannelDownstreamHandler which provides an individual handler method for each event type.
SimpleChannelHandler A ChannelHandler which provides an individual handler method for each event type.
SimpleChannelUpstreamHandler A ChannelUpstreamHandler which provides an individual handler method for each event type.
SucceededChannelFuture The CompleteChannelFuture which is succeeded already.
UnfailingChannelFuture The ChannelFuture which can not fail at all.
UpstreamChannelStateEvent The default upstream ChannelStateEvent implementation.
UpstreamMessageEvent The default upstream MessageEvent implementation.
 

Enum Summary
ChannelState The current or future state of a Channel.
 

Exception Summary
ChannelException A RuntimeException which is thrown when an I/O operation fails.
ChannelHandlerLifeCycleException A RuntimeException which is thrown when a LifeCycleAwareChannelHandler throws an Exception in its handler methods.
ChannelPipelineException A ChannelException which is thrown when a ChannelPipeline failed to process a ChannelEvent or when a ChannelPipelineFactory failed to initialize a ChannelPipeline.
 

Annotation Types Summary
ChannelPipelineCoverage Specifies if the same instance of the annotated ChannelHandler type can be added to more than one ChannelPipeline.
 

Package org.jboss.netty.channel Description

The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.



Copyright © 2008-2009 JBoss, by Red Hat. All Rights Reserved.