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.
|
org.jboss.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
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 |
ChannelFutureNotifier
ChannelFutureListener implementation which takes another ChannelFuture and notifies it
once the operationComplete method was called.
|
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 |
DefaultChannelFuture.addListener(ChannelFutureListener listener) |
void |
CompleteChannelFuture.addListener(ChannelFutureListener listener) |
void |
ChannelFuture.addListener(ChannelFutureListener listener)
Adds the specified listener to this future.
|
void |
DefaultChannelFuture.removeListener(ChannelFutureListener listener) |
void |
CompleteChannelFuture.removeListener(ChannelFutureListener listener) |
void |
ChannelFuture.removeListener(ChannelFutureListener listener)
Removes the specified listener from this future.
|
Modifier and Type | Field and Description |
---|---|
static ChannelFutureListener |
WebSocketServerHandshaker.HANDSHAKE_LISTENER
ChannelFutureListener which will call
Channels.fireExceptionCaught(ChannelHandlerContext, Throwable)
if the ChannelFuture was not successful. |
Copyright © 2008-2014 The Netty Project. All Rights Reserved.