请参阅: 说明
接口 | 说明 |
---|---|
AddressedEnvelope<M,A extends java.net.SocketAddress> |
A message that wraps another message with a sender address and a recipient address.
|
Channel |
A nexus to a network socket or a component which is capable of I/O
operations such as read, write, connect, and bind.
|
Channel.Unsafe |
Unsafe operations that should never be called from user-code.
|
ChannelConfig |
A set of configuration properties of a
Channel . |
ChannelFuture |
The result of an asynchronous
Channel I/O operation. |
ChannelFutureListener |
Listens to the result of a
ChannelFuture . |
ChannelHandler |
Handles or intercepts a
ChannelInboundInvoker or ChannelOutboundInvoker operation, and forwards it
to the next handler in a ChannelPipeline . |
ChannelHandlerContext |
Enables a
ChannelHandler to interact with its ChannelPipeline
and other handlers. |
ChannelInboundHandler |
ChannelHandler which adds callbacks for state changes. |
ChannelOutboundBuffer.MessageProcessor | |
ChannelOutboundHandler |
ChannelHandler which will get notified for IO-outbound-operations. |
ChannelPipeline |
A list of
ChannelHandler s which handles or intercepts inbound events and outbound operations of a
Channel . |
ChannelProgressiveFuture |
An special
ChannelFuture which is used to indicate the FileRegion transfer progress |
ChannelProgressiveFutureListener |
An
EventListener listener which will be called once the sending task associated with future is
being transferred. |
ChannelProgressivePromise |
Special
ChannelPromise which will be notified once the associated bytes is transferring. |
ChannelPromise |
Special
ChannelFuture which is writable. |
EventLoop |
Will handle all the I/O operations for a
Channel once registered. |
EventLoopGroup |
Special
EventExecutorGroup which allows registering Channel s that get
processed for later selection during the event loop. |
FileRegion |
A region of a file that is sent via a
Channel which supports
zero-copy file transfer. |
MessageSizeEstimator |
Responsible to estimate size of a message.
|
MessageSizeEstimator.Handle | |
RecvByteBufAllocator |
Allocates a new receive buffer whose capacity is probably large enough to read all inbound data and small enough
not to waste its space.
|
RecvByteBufAllocator.Handle | |
SelectStrategy |
Select strategy interface.
|
SelectStrategyFactory |
Factory that creates a new
SelectStrategy every time. |
ServerChannel |
类 | 说明 |
---|---|
AbstractChannel |
A skeletal
Channel implementation. |
AbstractServerChannel |
A skeletal server-side
Channel implementation. |
AdaptiveRecvByteBufAllocator |
The
RecvByteBufAllocator that automatically increases and
decreases the predicted buffer size on feed back. |
ChannelDuplexHandler |
ChannelHandler implementation which represents a combination out of a ChannelInboundHandler and
the ChannelOutboundHandler . |
ChannelFlushPromiseNotifier |
This implementation allows to register
ChannelFuture instances which will get notified once some amount of
data was written and so a checkpoint was reached. |
ChannelHandlerAdapter |
Skeleton implementation of a
ChannelHandler . |
ChannelInboundHandlerAdapter |
Abstract base class for
ChannelInboundHandler implementations which provide
implementations of all of their methods. |
ChannelInitializer<C extends Channel> |
A special
ChannelInboundHandler which offers an easy way to initialize a Channel once it was
registered to its EventLoop . |
ChannelMetadata |
Represents the properties of a
Channel implementation. |
ChannelOption<T> |
A
ChannelOption allows to configure a ChannelConfig in a type-safe
way. |
ChannelOutboundBuffer |
(Transport implementors only) an internal data structure used by
AbstractChannel to store its pending
outbound write requests. |
ChannelOutboundHandlerAdapter |
Skeleton implementation of a
ChannelOutboundHandler . |
ChannelPromiseAggregator | 已过时
Use
PromiseCombiner
Class which is used to consolidate multiple channel futures into one, by
listening to the individual futures and producing an aggregated result
(success/failure) when all futures have completed. |
ChannelPromiseNotifier |
ChannelFutureListener implementation which takes other
ChannelPromise (s) and notifies them on completion. |
CombinedChannelDuplexHandler<I extends ChannelInboundHandler,O extends ChannelOutboundHandler> | |
DefaultAddressedEnvelope<M,A extends java.net.SocketAddress> |
The default
AddressedEnvelope implementation. |
DefaultChannelConfig |
The default
SocketChannelConfig implementation. |
DefaultChannelPipeline |
The default
ChannelPipeline implementation. |
DefaultChannelProgressivePromise |
The default
ChannelProgressivePromise implementation. |
DefaultChannelPromise |
The default
ChannelPromise implementation. |
DefaultFileRegion | |
DefaultMessageSizeEstimator |
Default
MessageSizeEstimator implementation which supports the estimation of the size of
ByteBuf , ByteBufHolder and FileRegion . |
DefaultSelectStrategyFactory |
Factory which uses the default select strategy.
|
FixedRecvByteBufAllocator |
The
RecvByteBufAllocator that always yields the same buffer
size prediction. |
MultithreadEventLoopGroup |
Abstract base class for
EventLoopGroup implementations that handles their tasks with multiple threads at
the same time. |
PendingWriteQueue |
A queue of write operations which are pending for later execution.
|
SimpleChannelInboundHandler<I> |
ChannelInboundHandlerAdapter which allows to explicit only handle a specific type of messages. |
SingleThreadEventLoop |
Abstract base class for
EventLoop 's that execute all its submitted tasks in a single thread. |
ThreadPerChannelEventLoop |
SingleThreadEventLoop which is used to handle OIO Channel 's. |
ThreadPerChannelEventLoopGroup |
异常错误 | 说明 |
---|---|
ChannelException |
A
RuntimeException which is thrown when an I/O operation fails. |
ChannelPipelineException |
A
ChannelException which is thrown when a ChannelPipeline
failed to execute an operation. |
ConnectTimeoutException |
ConnectException which will be thrown if a connection could
not be established because of a connection timeout. |
EventLoopException |
Special
ChannelException which will be thrown by EventLoop and EventLoopGroup
implementations when an error occurs. |
注释类型 | 说明 |
---|---|
ChannelHandler.Sharable |
Indicates that the same instance of the annotated
ChannelHandler
can be added to one or more ChannelPipeline s multiple times
without a race condition. |