Package | Description |
---|---|
org.jboss.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 | 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 |
---|---|
void |
ChannelFuture.addListener(ChannelFutureListener listener)
Adds the specified listener to this future.
|
void |
CompleteChannelFuture.addListener(ChannelFutureListener listener) |
void |
DefaultChannelFuture.addListener(ChannelFutureListener listener) |
void |
ChannelFuture.removeListener(ChannelFutureListener listener)
Removes the specified listener from this future.
|
void |
CompleteChannelFuture.removeListener(ChannelFutureListener listener) |
void |
DefaultChannelFuture.removeListener(ChannelFutureListener listener) |
Copyright © 2008-2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.