Package org.jboss.netty.channel
package org.jboss.netty.channel
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
-
ClassDescriptionA skeletal
Channelimplementation.A skeletalChannelSinkimplementation.A skeletal server-sideChannelimplementation.TheReceiveBufferSizePredictorthat automatically increases and decreases the predicted buffer size on feed back.TheReceiveBufferSizePredictorFactorythat creates a newAdaptiveReceiveBufferSizePredictor.A nexus to a network socket or a component which is capable of I/O operations such as read, write, connect, and bind.A set of configuration properties of aChannel.Handles or intercepts a downstreamChannelEvent, and sends aChannelEventto the next handler in aChannelPipeline.An I/O event or I/O request associated with aChannel.ARuntimeExceptionwhich is thrown when an I/O operation fails.The main interface to a transport that creates aChannelassociated with a certain communication entity such as a network socket.The result of an asynchronousChannelI/O operation.Listens to the result of aChannelFuture.ChannelFutureListener implementation which takes another ChannelFuture and notifies it once the operationComplete method was called.Listens to the progress of a time-consuming I/O operation such as a large file transfer.Handles or intercepts aChannelEvent, and sends aChannelEventto the next handler in aChannelPipeline.Indicates that the same instance of the annotatedChannelHandlercan be added to one or moreChannelPipelines multiple times without a race condition.Enables aChannelHandlerto interact with itsChannelPipelineand other handlers.ARuntimeExceptionwhich is thrown when aLifeCycleAwareChannelHandlerthrows anExceptionin its handler methods.ChannelLocal<T>A global variable that is local to aChannel.AChannelExceptionwhich is thrown when aChannelPipelinefailed to process aChannelEventor when aChannelPipelineFactoryfailed to initialize aChannelPipeline.Creates a newChannelPipelinefor a newChannel.A helper class which provides various convenience methods related withChannel,ChannelHandler, andChannelPipeline.Receives and processes the terminal downstreamChannelEvents.The current or future state of aChannel.AChannelEventwhich represents the change of theChannelstate.Handles or intercepts an upstreamChannelEvent, and sends aChannelEventto the next handler in aChannelPipeline.AChannelEventwhich represents the notification of the state of a childChannel.A skeletalChannelFutureimplementation which represents aChannelFuturewhich has been completed already.ConnectExceptionwhich will be thrown if a connection could not be established because of a connection timeout.The defaultSocketChannelConfigimplementation.The defaultChannelFutureimplementation.The defaultChannelPipelineimplementation.The defaultChildChannelStateEventimplementation.The defaultExceptionEventimplementation.The defaultServerSocketChannelConfigimplementation.The defaultWriteCompletionEventimplementation.The default downstreamChannelStateEventimplementation.The default downstreamMessageEventimplementation.AChannelEventwhich represents the notification of an exception raised by aChannelHandleror an I/O thread.TheCompleteChannelFuturewhich is failed already.A region of a file that is sent via aChannelwhich supports zero-copy file transfer.TheReceiveBufferSizePredictorthat always yields the same buffer size prediction.TheReceiveBufferSizePredictorFactorythat returns aFixedReceiveBufferSizePredictorwith the pre-defined configuration.AChannelHandlerthat is notified when it is added to or removed from aChannelPipeline.AChannelEventwhich represents the transmission or reception of a message.Predicts the number of readable bytes in the receive buffer of aChannel.Creates a newReceiveBufferSizePredictor.AChannelFactorythat creates aServerChannel.AChannelDownstreamHandlerwhich provides an individual handler method for each event type.AChannelHandlerwhich provides an individual handler method for each event type.AChannelUpstreamHandlerwhich provides an individual handler method for each event type.TheCompleteChannelFuturewhich is succeeded already.The default upstreamChannelStateEventimplementation.The default upstreamMessageEventimplementation.AChannelEventwhich represents the notification of the completion of a write request on aChannel.