Package | Description |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
Modifier and Type | Class and Description |
---|---|
class |
ChannelPromiseAggregator
Deprecated.
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. |
Modifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
void |
CoalescingBufferQueue.add(ByteBuf buf,
ChannelFutureListener listener)
Add a buffer to the end of the queue and associate a listener with it that should be completed when
all the buffers bytes have been consumed from the queue and written.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultHttp2ConnectionEncoder.FlowControlledBase
Common base type for payloads to deliver via flow-control.
|
Copyright © 2008–2017 The Netty Project. All rights reserved.