程序包 | 说明 |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
限定符和类型 | 类和说明 |
---|---|
class |
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. |
class |
ChannelPromiseNotifier
ChannelFutureListener implementation which takes other
ChannelPromise (s) and notifies them on completion. |
限定符和类型 | 字段和说明 |
---|---|
static ChannelFutureListener |
ChannelFutureListener.CLOSE
A
ChannelFutureListener that closes the Channel which is
associated with the specified ChannelFuture . |
static ChannelFutureListener |
ChannelFutureListener.CLOSE_ON_FAILURE
A
ChannelFutureListener that closes the Channel when the
operation ended up with a failure or cancellation rather than a success. |
static ChannelFutureListener |
ChannelFutureListener.FIRE_EXCEPTION_ON_FAILURE
|