| Package | Description |
|---|---|
| io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ChannelFutureProgressListener
Listens to the progress of a time-consuming I/O operation such as a large
file transfer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ChannelFutureAggregator
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.
|
| 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. |
| Modifier and Type | Method and Description |
|---|---|
ChannelFuture |
VoidChannelFuture.addListener(ChannelFutureListener listener) |
ChannelFuture |
CompleteChannelFuture.addListener(ChannelFutureListener listener) |
ChannelFuture |
DefaultChannelFuture.addListener(ChannelFutureListener listener) |
ChannelFuture |
ChannelFuture.addListener(ChannelFutureListener listener)
Adds the specified listener to this future.
|
ChannelFuture |
VoidChannelFuture.removeListener(ChannelFutureListener listener) |
ChannelFuture |
CompleteChannelFuture.removeListener(ChannelFutureListener listener) |
ChannelFuture |
DefaultChannelFuture.removeListener(ChannelFutureListener listener) |
ChannelFuture |
ChannelFuture.removeListener(ChannelFutureListener listener)
Removes the specified listener from this future.
|
Copyright © 2008-2012 The Netty Project. All Rights Reserved.