Uses of Interface
org.jboss.netty.channel.ChannelFuture
Packages that use ChannelFuture
Package
Description
IoC/DI friendly helper classes which enable an easy implementation of
typical client side and server side channel initialization.
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
A channel registry which helps a user maintain the list of open
Channel
s and perform bulk operations on them.A virtual transport that enables the communication between the two
parties in the same virtual machine.
Abstract TCP and UDP socket interfaces which extend the core channel API.
An HTTP-based client-side
SocketChannel
and its corresponding server-side Servlet implementation that make your
existing server application work in a firewalled network.NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
Encoder and decoder which compresses and decompresses
ChannelBuffer
s
in a compression format such as zlib
and gzip.A helper that wraps an encoder or a decoder so that they can be used without
doing actual I/O in unit tests or higher level codecs.
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
Encoder, decoder, session handler and their related message types for the SPDY protocol.
Implementation of a Ip based Filter handlers.
Adds support for read and write timeout and idle connection notification
using a
Timer
.-
Uses of ChannelFuture in org.jboss.netty.bootstrap
Methods in org.jboss.netty.bootstrap that return ChannelFutureModifier and TypeMethodDescriptionClientBootstrap.bind
(SocketAddress localAddress) Attempts to bind a channel with the specifiedlocalAddress
.ServerBootstrap.bindAsync()
Bind a channel asynchronous to the local address specified in the current"localAddress"
option.ServerBootstrap.bindAsync
(SocketAddress localAddress) Bind a channel asynchronous to the specified local address.ClientBootstrap.connect()
Attempts a new connection with the current"remoteAddress"
and"localAddress"
option.ClientBootstrap.connect
(SocketAddress remoteAddress) Attempts a new connection with the specifiedremoteAddress
and the current"localAddress"
option.ClientBootstrap.connect
(SocketAddress remoteAddress, SocketAddress localAddress) Attempts a new connection with the specifiedremoteAddress
and the specifiedlocalAddress
.ConnectionlessBootstrap.connect()
Creates a new connected channel with the current"remoteAddress"
and"localAddress"
option.ConnectionlessBootstrap.connect
(SocketAddress remoteAddress) Creates a new connected channel with the specified"remoteAddress"
and the current"localAddress"
option.ConnectionlessBootstrap.connect
(SocketAddress remoteAddress, SocketAddress localAddress) Creates a new connected channel with the specified"remoteAddress"
and the specified"localAddress"
. -
Uses of ChannelFuture in org.jboss.netty.channel
Classes in org.jboss.netty.channel that implement ChannelFutureModifier and TypeClassDescriptionprivate final class
class
A skeletalChannelFuture
implementation which represents aChannelFuture
which has been completed already.class
The defaultChannelFuture
implementation.class
TheCompleteChannelFuture
which is failed already.class
TheCompleteChannelFuture
which is succeeded already.Fields in org.jboss.netty.channel declared as ChannelFutureModifier and TypeFieldDescriptionprivate final ChannelFuture
ChannelFutureNotifier.future
private final ChannelFuture
DownstreamChannelStateEvent.future
private final ChannelFuture
DownstreamMessageEvent.future
private final ChannelFuture
AbstractChannel.succeededFuture
Methods in org.jboss.netty.channel that return ChannelFutureModifier and TypeMethodDescriptionChannelFuture.await()
Waits for this future to be completed.CompleteChannelFuture.await()
DefaultChannelFuture.await()
ChannelFuture.awaitUninterruptibly()
Waits for this future to be completed without interruption.CompleteChannelFuture.awaitUninterruptibly()
DefaultChannelFuture.awaitUninterruptibly()
AbstractChannel.bind
(SocketAddress localAddress) Channel.bind
(SocketAddress localAddress) Binds this channel to the specified local address asynchronously.static ChannelFuture
Channels.bind
(Channel channel, SocketAddress localAddress) Sends a"bind"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.AbstractChannel.close()
Channel.close()
Closes this channel asynchronously.static ChannelFuture
Sends a"close"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.AbstractChannel.connect
(SocketAddress remoteAddress) AbstractServerChannel.connect
(SocketAddress remoteAddress) Channel.connect
(SocketAddress remoteAddress) Connects this channel to the specified remote address asynchronously.static ChannelFuture
Channels.connect
(Channel channel, SocketAddress remoteAddress) Sends a"connect"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.AbstractChannel.disconnect()
AbstractServerChannel.disconnect()
Channel.disconnect()
Disconnects this channel from the current remote address asynchronously.static ChannelFuture
Channels.disconnect
(Channel channel) Sends a"disconnect"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.AbstractChannelSink.execute
(ChannelPipeline pipeline, Runnable task) This implementation just directly callRunnable.run()
.Schedules the specified task to be executed in the I/O thread associated with this pipeline'sChannel
.ChannelSink.execute
(ChannelPipeline pipeline, Runnable task) Execute the givenRunnable
later in the io-thread.DefaultChannelPipeline.DiscardingChannelSink.execute
(ChannelPipeline pipeline, Runnable task) static ChannelFuture
Channels.failedFuture
(Channel channel, Throwable cause) Creates a newChannelFuture
which has failed already for the specifiedChannel
.static ChannelFuture
Channels.fireChannelClosedLater
(Channel channel) Sends a"channelClosed"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
once the io-thread runs again.static ChannelFuture
Channels.fireChannelDisconnectedLater
(Channel channel) Sends a"channelDisconnected"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
once the io-thread runs again.static ChannelFuture
Channels.fireChannelInterestChangedLater
(Channel channel) Sends a"channelInterestChanged"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
once the io-thread runs again.static ChannelFuture
Channels.fireChannelUnboundLater
(Channel channel) Sends a"channelUnbound"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
once the io-thread runs again.static ChannelFuture
Channels.fireExceptionCaughtLater
(ChannelHandlerContext ctx, Throwable cause) Sends a"exceptionCaught"
event to theChannelUpstreamHandler
which is placed in the closest upstream from the handler associated with the specifiedChannelHandlerContext
once the io-thread runs again.static ChannelFuture
Channels.fireExceptionCaughtLater
(Channel channel, Throwable cause) Sends a"exceptionCaught"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
once the io-thread runs again.static ChannelFuture
Channels.fireWriteCompleteLater
(Channel channel, long amount) Sends a"writeComplete"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
in the next io-thread.static ChannelFuture
Creates a new non-cancellableChannelFuture
for the specifiedChannel
.static ChannelFuture
Creates a newChannelFuture
for the specifiedChannel
.AbstractChannel.getCloseFuture()
Channel.getCloseFuture()
Returns theChannelFuture
which will be notified when this channel is closed.ChannelEvent.getFuture()
Returns theChannelFuture
which is associated with this event.DefaultChildChannelStateEvent.getFuture()
DefaultExceptionEvent.getFuture()
DefaultWriteCompletionEvent.getFuture()
DownstreamChannelStateEvent.getFuture()
DownstreamMessageEvent.getFuture()
UpstreamChannelStateEvent.getFuture()
UpstreamMessageEvent.getFuture()
protected ChannelFuture
AbstractChannel.getSucceededFuture()
Returns the cachedSucceededChannelFuture
instance.protected ChannelFuture
AbstractChannel.getUnsupportedOperationFuture()
Returns theFailedChannelFuture
whose cause is anUnsupportedOperationException
.AbstractChannel.setInterestOps
(int interestOps) AbstractServerChannel.setInterestOps
(int interestOps) Channel.setInterestOps
(int interestOps) Changes theinterestOps
of this channel asynchronously.static ChannelFuture
Channels.setInterestOps
(Channel channel, int interestOps) Sends a"setInterestOps"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.AbstractChannel.setReadable
(boolean readable) Channel.setReadable
(boolean readable) Suspends or resumes the read operation of the I/O thread asynchronously.static ChannelFuture
Channels.succeededFuture
(Channel channel) Creates a newChannelFuture
which is already succeeded for the specifiedChannel
.ChannelFuture.sync()
Waits for this future until it is done, and rethrows the cause of the failure if this future failed.DefaultChannelFuture.sync()
FailedChannelFuture.sync()
SucceededChannelFuture.sync()
ChannelFuture.syncUninterruptibly()
Waits for this future until it is done, and rethrows the cause of the failure if this future failed.DefaultChannelFuture.syncUninterruptibly()
FailedChannelFuture.syncUninterruptibly()
SucceededChannelFuture.syncUninterruptibly()
AbstractChannel.unbind()
Channel.unbind()
Unbinds this channel from the current local address asynchronously.static ChannelFuture
Sends a"unbind"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.AbstractChannel.write
(Object message, SocketAddress remoteAddress) AbstractServerChannel.write
(Object message, SocketAddress remoteAddress) Sends a message to this channel asynchronously.Channel.write
(Object message, SocketAddress remoteAddress) Sends a message to this channel asynchronously.static ChannelFuture
Sends a"write"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.static ChannelFuture
Channels.write
(Channel channel, Object message, SocketAddress remoteAddress) Sends a"write"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.Methods in org.jboss.netty.channel with parameters of type ChannelFutureModifier and TypeMethodDescriptionstatic void
Channels.bind
(ChannelHandlerContext ctx, ChannelFuture future, SocketAddress localAddress) Sends a"bind"
request to theChannelDownstreamHandler
which is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext
.static void
Channels.close
(ChannelHandlerContext ctx, ChannelFuture future) Sends a"close"
request to theChannelDownstreamHandler
which is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext
.static void
Channels.connect
(ChannelHandlerContext ctx, ChannelFuture future, SocketAddress remoteAddress) Sends a"connect"
request to theChannelDownstreamHandler
which is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext
.static void
Channels.disconnect
(ChannelHandlerContext ctx, ChannelFuture future) Sends a"disconnect"
request to theChannelDownstreamHandler
which is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext
.void
ChannelFutureListener.operationComplete
(ChannelFuture future) Invoked when the I/O operation associated with theChannelFuture
has been completed.void
ChannelFutureNotifier.operationComplete
(ChannelFuture cf) void
ChannelFutureProgressListener.operationProgressed
(ChannelFuture future, long amount, long current, long total) Invoked when the I/O operation associated with theChannelFuture
has been progressed.static void
Channels.setInterestOps
(ChannelHandlerContext ctx, ChannelFuture future, int interestOps) Sends a"setInterestOps"
request to theChannelDownstreamHandler
which is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext
.static void
Channels.unbind
(ChannelHandlerContext ctx, ChannelFuture future) Sends a"unbind"
request to theChannelDownstreamHandler
which is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext
.static void
Channels.write
(ChannelHandlerContext ctx, ChannelFuture future, Object message) Sends a"write"
request to theChannelDownstreamHandler
which is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext
.static void
Channels.write
(ChannelHandlerContext ctx, ChannelFuture future, Object message, SocketAddress remoteAddress) Sends a"write"
request to theChannelDownstreamHandler
which is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext
.Constructors in org.jboss.netty.channel with parameters of type ChannelFutureModifierConstructorDescriptionChannelFutureNotifier
(ChannelFuture future) DownstreamChannelStateEvent
(Channel channel, ChannelFuture future, ChannelState state, Object value) Creates a new instance.DownstreamMessageEvent
(Channel channel, ChannelFuture future, Object message, SocketAddress remoteAddress) Creates a new instance. -
Uses of ChannelFuture in org.jboss.netty.channel.group
Fields in org.jboss.netty.channel.group with type parameters of type ChannelFutureModifier and TypeFieldDescription(package private) final Map<Integer,
ChannelFuture> DefaultChannelGroupFuture.futures
Methods in org.jboss.netty.channel.group that return ChannelFutureModifier and TypeMethodDescriptionReturns theChannelFuture
of the individual I/O operation which is associated with theChannel
whose ID matches the specified integer.Returns theChannelFuture
of the individual I/O operation which is associated with the specifiedChannel
.Methods in org.jboss.netty.channel.group that return types with arguments of type ChannelFutureModifier and TypeMethodDescriptionChannelGroupFuture.iterator()
Returns theIterator
that enumerates allChannelFuture
s which are associated with this future.DefaultChannelGroupFuture.iterator()
Constructor parameters in org.jboss.netty.channel.group with type arguments of type ChannelFutureModifierConstructorDescriptionDefaultChannelGroupFuture
(ChannelGroup group, Collection<ChannelFuture> futures) Creates a new instance.(package private)
DefaultChannelGroupFuture
(ChannelGroup group, Map<Integer, ChannelFuture> futures) -
Uses of ChannelFuture in org.jboss.netty.channel.local
Methods in org.jboss.netty.channel.local with parameters of type ChannelFutureModifier and TypeMethodDescriptionprivate static void
LocalClientChannelSink.bind
(DefaultLocalChannel channel, ChannelFuture future, LocalAddress localAddress) private static void
LocalServerChannelSink.bind
(DefaultLocalServerChannel channel, ChannelFuture future, LocalAddress localAddress) private static void
LocalServerChannelSink.close
(DefaultLocalServerChannel channel, ChannelFuture future) (package private) void
DefaultLocalChannel.closeNow
(ChannelFuture future) private void
LocalClientChannelSink.connect
(DefaultLocalChannel channel, ChannelFuture future, LocalAddress remoteAddress) -
Uses of ChannelFuture in org.jboss.netty.channel.socket
Classes in org.jboss.netty.channel.socket that implement ChannelFutureMethods in org.jboss.netty.channel.socket that return ChannelFutureModifier and TypeMethodDescriptionDatagramChannel.joinGroup
(InetAddress multicastAddress) Joins a multicast group.DatagramChannel.joinGroup
(InetSocketAddress multicastAddress, NetworkInterface networkInterface) Joins the specified multicast group at the specified interface.DatagramChannel.leaveGroup
(InetAddress multicastAddress) Leaves a multicast group.DatagramChannel.leaveGroup
(InetSocketAddress multicastAddress, NetworkInterface networkInterface) Leaves a multicast group on a specified local interface. -
Uses of ChannelFuture in org.jboss.netty.channel.socket.http
Methods in org.jboss.netty.channel.socket.http that return ChannelFutureModifier and TypeMethodDescriptionHttpTunnelingClientSocketChannel.write
(Object message, SocketAddress remoteAddress) private ChannelFuture
HttpTunnelingClientSocketChannel.writeLastChunk()
Methods in org.jboss.netty.channel.socket.http with parameters of type ChannelFutureModifier and TypeMethodDescription(package private) void
HttpTunnelingClientSocketChannel.bindReal
(SocketAddress localAddress, ChannelFuture future) (package private) void
HttpTunnelingClientSocketChannel.closeReal
(ChannelFuture future) (package private) void
HttpTunnelingClientSocketChannel.connectReal
(SocketAddress remoteAddress, ChannelFuture future) (package private) void
HttpTunnelingClientSocketChannel.disconnectReal
(ChannelFuture future) (package private) void
HttpTunnelingClientSocketChannel.setInterestOpsReal
(int interestOps, ChannelFuture future) (package private) void
HttpTunnelingClientSocketChannel.unbindReal
(ChannelFuture future) (package private) void
HttpTunnelingClientSocketChannel.writeReal
(ChannelBuffer a, ChannelFuture future) -
Uses of ChannelFuture in org.jboss.netty.channel.socket.nio
Fields in org.jboss.netty.channel.socket.nio declared as ChannelFutureModifier and TypeFieldDescription(package private) ChannelFuture
NioClientSocketChannel.connectFuture
private final ChannelFuture
NioDatagramWorker.ChannelRegistionTask.future
private final ChannelFuture
NioServerBoss.RegisterTask.future
private final ChannelFuture
NioWorker.RegisterTask.future
Methods in org.jboss.netty.channel.socket.nio that return ChannelFutureModifier and TypeMethodDescriptionNioDatagramChannel.block
(InetAddress multicastAddress, InetAddress sourceToBlock) Block the given sourceToBlock address for the given multicastAddressNioDatagramChannel.block
(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress sourceToBlock) Block the given sourceToBlock address for the given multicastAddress on the given networkInterfaceAbstractNioChannelSink.execute
(ChannelPipeline pipeline, Runnable task) NioDatagramChannel.joinGroup
(InetAddress multicastAddress) NioDatagramChannel.joinGroup
(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source) Joins the specified multicast group at the specified interface using the specified source.NioDatagramChannel.joinGroup
(InetSocketAddress multicastAddress, NetworkInterface networkInterface) NioDatagramChannel.leaveGroup
(InetAddress multicastAddress) NioDatagramChannel.leaveGroup
(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source) Leave the specified multicast group at the specified interface using the specified source.NioDatagramChannel.leaveGroup
(InetSocketAddress multicastAddress, NetworkInterface networkInterface) NioDatagramChannel.write
(Object message, SocketAddress remoteAddress) NioSocketChannel.write
(Object message, SocketAddress remoteAddress) Methods in org.jboss.netty.channel.socket.nio with parameters of type ChannelFutureModifier and TypeMethodDescriptionprivate static void
NioClientSocketPipelineSink.bind
(NioClientSocketChannel channel, ChannelFuture future, SocketAddress localAddress) private static void
NioDatagramPipelineSink.bind
(NioDatagramChannel channel, ChannelFuture future, InetSocketAddress address) Will bind the DatagramSocket to the passed-in address.(package private) void
NioServerBoss.bind
(NioServerSocketChannel channel, ChannelFuture future, SocketAddress localAddress) protected void
AbstractNioWorker.close
(AbstractNioChannel<?> channel, ChannelFuture future) private static void
NioDatagramPipelineSink.close
(NioDatagramChannel channel, ChannelFuture future) (package private) void
NioServerBoss.close
(NioServerSocketChannel channel, ChannelFuture future) private void
NioClientSocketPipelineSink.connect
(NioClientSocketChannel channel, ChannelFuture cf, SocketAddress remoteAddress) private static void
NioDatagramPipelineSink.connect
(NioDatagramChannel channel, ChannelFuture future, InetSocketAddress remoteAddress) protected abstract Runnable
AbstractNioSelector.createRegisterTask
(Channel channel, ChannelFuture future) protected Runnable
NioClientBoss.createRegisterTask
(Channel channel, ChannelFuture future) protected Runnable
NioDatagramWorker.createRegisterTask
(Channel channel, ChannelFuture future) protected Runnable
NioServerBoss.createRegisterTask
(Channel channel, ChannelFuture future) protected Runnable
NioWorker.createRegisterTask
(Channel channel, ChannelFuture future) (package private) static void
NioDatagramWorker.disconnect
(NioDatagramChannel channel, ChannelFuture future) void
AbstractNioSelector.register
(Channel channel, ChannelFuture future) void
NioSelector.register
(Channel channel, ChannelFuture future) (package private) void
AbstractNioWorker.setInterestOps
(AbstractNioChannel<?> channel, ChannelFuture future, int interestOps) Constructors in org.jboss.netty.channel.socket.nio with parameters of type ChannelFutureModifierConstructorDescription(package private)
ChannelRegistionTask
(NioDatagramChannel channel, ChannelFuture future) RegisterTask
(NioServerSocketChannel channel, ChannelFuture future, SocketAddress localAddress) (package private)
RegisterTask
(NioSocketChannel channel, ChannelFuture future, boolean server) -
Uses of ChannelFuture in org.jboss.netty.channel.socket.oio
Methods in org.jboss.netty.channel.socket.oio that return ChannelFutureModifier and TypeMethodDescriptionAbstractOioChannelSink.execute
(ChannelPipeline pipeline, Runnable task) OioDatagramChannel.joinGroup
(InetAddress multicastAddress) OioDatagramChannel.joinGroup
(InetSocketAddress multicastAddress, NetworkInterface networkInterface) OioDatagramChannel.leaveGroup
(InetAddress multicastAddress) OioDatagramChannel.leaveGroup
(InetSocketAddress multicastAddress, NetworkInterface networkInterface) AbstractOioChannel.write
(Object message, SocketAddress remoteAddress) Methods in org.jboss.netty.channel.socket.oio with parameters of type ChannelFutureModifier and TypeMethodDescriptionprivate static void
OioClientSocketPipelineSink.bind
(OioClientSocketChannel channel, ChannelFuture future, SocketAddress localAddress) private void
OioDatagramPipelineSink.bind
(OioDatagramChannel channel, ChannelFuture future, SocketAddress localAddress) private void
OioServerSocketPipelineSink.bind
(OioServerSocketChannel channel, ChannelFuture future, SocketAddress localAddress) (package private) static void
AbstractOioWorker.close
(AbstractOioChannel channel, ChannelFuture future) private static void
AbstractOioWorker.close
(AbstractOioChannel channel, ChannelFuture future, boolean iothread) private static void
OioServerSocketPipelineSink.close
(OioServerSocketChannel channel, ChannelFuture future) private void
OioClientSocketPipelineSink.connect
(OioClientSocketChannel channel, ChannelFuture future, SocketAddress remoteAddress) private void
OioDatagramPipelineSink.connect
(OioDatagramChannel channel, ChannelFuture future, SocketAddress remoteAddress) (package private) static void
OioDatagramWorker.disconnect
(OioDatagramChannel channel, ChannelFuture future) (package private) static void
AbstractOioWorker.setInterestOps
(AbstractOioChannel channel, ChannelFuture future, int interestOps) (package private) static void
OioDatagramWorker.write
(OioDatagramChannel channel, ChannelFuture future, Object message, SocketAddress remoteAddress) (package private) static void
OioWorker.write
(OioSocketChannel channel, ChannelFuture future, Object message) -
Uses of ChannelFuture in org.jboss.netty.example.securechat
Methods in org.jboss.netty.example.securechat with parameters of type ChannelFutureModifier and TypeMethodDescriptionvoid
SecureChatServerHandler.Greeter.operationComplete
(ChannelFuture future) -
Uses of ChannelFuture in org.jboss.netty.handler.codec.compression
Methods in org.jboss.netty.handler.codec.compression that return ChannelFutureModifier and TypeMethodDescriptionJdkZlibEncoder.close()
ZlibEncoder.close()
private ChannelFuture
JdkZlibEncoder.finishEncode
(ChannelHandlerContext ctx, ChannelEvent evt) private ChannelFuture
ZlibEncoder.finishEncode
(ChannelHandlerContext ctx, ChannelEvent evt) -
Uses of ChannelFuture in org.jboss.netty.handler.codec.embedder
Methods in org.jboss.netty.handler.codec.embedder that return ChannelFutureModifier and TypeMethodDescriptionAbstractCodecEmbedder.EmbeddedChannelSink.execute
(ChannelPipeline pipeline, Runnable task) -
Uses of ChannelFuture in org.jboss.netty.handler.codec.http.websocketx
Methods in org.jboss.netty.handler.codec.http.websocketx that return ChannelFutureModifier and TypeMethodDescriptionabstract ChannelFuture
WebSocketServerHandshaker.close
(Channel channel, CloseWebSocketFrame frame) Performs the closing handshakeWebSocketServerHandshaker00.close
(Channel channel, CloseWebSocketFrame frame) Echo back the closing frameWebSocketServerHandshaker07.close
(Channel channel, CloseWebSocketFrame frame) Echo back the closing frame and close the connectionWebSocketServerHandshaker08.close
(Channel channel, CloseWebSocketFrame frame) Echo back the closing frame and close the connectionWebSocketServerHandshaker13.close
(Channel channel, CloseWebSocketFrame frame) Echo back the closing frame and close the connectionabstract ChannelFuture
Begins the opening handshakeSends the opening request to the server:/**/**/**abstract ChannelFuture
WebSocketServerHandshaker.handshake
(Channel channel, HttpRequest req) Performs the opening handshakeWebSocketServerHandshaker00.handshake
(Channel channel, HttpRequest req) Handle the web socket handshake for the web socket specification HyBi version 0 and lower.WebSocketServerHandshaker07.handshake
(Channel channel, HttpRequest req) Handle the web socket handshake for the web socket specification HyBi version 7.WebSocketServerHandshaker08.handshake
(Channel channel, HttpRequest req) Handle the web socket handshake for the web socket specification HyBi version 8 to 10.WebSocketServerHandshaker13.handshake
(Channel channel, HttpRequest req) Handle the web socket handshake for the web socket specification HyBi versions 13-17.WebSocketServerHandshakerFactory.sendUnsupportedWebSocketVersionResponse
(Channel channel) Return that we need cannot not support the web socket versionprotected ChannelFuture
WebSocketServerHandshaker.writeHandshakeResponse
(Channel channel, HttpResponse res, ChannelHandler encoder, ChannelHandler decoder) Upgrades the connection and send the handshake response. -
Uses of ChannelFuture in org.jboss.netty.handler.codec.spdy
Methods in org.jboss.netty.handler.codec.spdy that return ChannelFutureModifier and TypeMethodDescriptionprivate static ChannelFuture
SpdyHttpEncoder.getDataFuture
(ChannelHandlerContext ctx, ChannelFuture future, SpdyDataFrame[] spdyDataFrames, SocketAddress remoteAddress) private ChannelFuture
SpdyHttpEncoder.getMessageFuture
(ChannelHandlerContext ctx, MessageEvent e, int streamId, HttpMessage httpMessage) private ChannelFuture
SpdySessionHandler.sendGoAwayFrame
(ChannelHandlerContext ctx, Channel channel, SocketAddress remoteAddress, SpdySessionStatus status) Methods in org.jboss.netty.handler.codec.spdy with parameters of type ChannelFutureModifier and TypeMethodDescriptionprivate static ChannelFuture
SpdyHttpEncoder.getDataFuture
(ChannelHandlerContext ctx, ChannelFuture future, SpdyDataFrame[] spdyDataFrames, SocketAddress remoteAddress) private void
SpdySessionHandler.halfCloseStream
(int streamId, boolean remote, ChannelFuture future) void
SpdyHttpEncoder.SpdyFrameWriter.operationComplete
(ChannelFuture future) void
SpdySessionHandler.ClosingChannelFutureListener.operationComplete
(ChannelFuture sentGoAwayFuture) private void
SpdySessionHandler.removeStream
(int streamId, ChannelFuture future) protected void
SpdyHttpEncoder.writeChunk
(ChannelHandlerContext ctx, ChannelFuture future, int streamId, HttpChunk chunk, SocketAddress remoteAddress) Writes an HTTP chunk downstream as one or more SPDY frames. -
Uses of ChannelFuture in org.jboss.netty.handler.ipfilter
Methods in org.jboss.netty.handler.ipfilter that return ChannelFutureModifier and TypeMethodDescriptionIpFilterListener.allowed
(ChannelHandlerContext ctx, ChannelEvent e, InetSocketAddress inetSocketAddress) Called when the channel has the CONNECTED status and the channel was allowed by a previous call to accept().protected ChannelFuture
IpFilteringHandlerImpl.handleAllowedChannel
(ChannelHandlerContext ctx, ChannelEvent e, InetSocketAddress inetSocketAddress) protected ChannelFuture
IpFilteringHandlerImpl.handleRefusedChannel
(ChannelHandlerContext ctx, ChannelEvent e, InetSocketAddress inetSocketAddress) Called when the channel has the CONNECTED status and the channel was refused by a previous call to accept().IpFilterListener.refused
(ChannelHandlerContext ctx, ChannelEvent e, InetSocketAddress inetSocketAddress) Called when the channel has the CONNECTED status and the channel was refused by a previous call to accept(). -
Uses of ChannelFuture in org.jboss.netty.handler.ssl
Classes in org.jboss.netty.handler.ssl that implement ChannelFutureFields in org.jboss.netty.handler.ssl declared as ChannelFutureModifier and TypeFieldDescription(package private) final ChannelFuture
SslHandler.PendingWrite.future
private ChannelFuture
SslHandler.handshakeFuture
Methods in org.jboss.netty.handler.ssl that return ChannelFutureModifier and TypeMethodDescriptionSslHandler.close()
Sends an SSLclose_notify
message to the specified channel and destroys the underlyingSSLEngine
.SslHandler.getSSLEngineInboundCloseFuture()
Return theChannelFuture
that will get notified if the inbound of theSSLEngine
will get closed.SslHandler.handshake()
Starts an SSL / TLS handshake for the specified channel.private ChannelFuture
SslHandler.wrapNonAppData
(ChannelHandlerContext ctx, Channel channel) Methods in org.jboss.netty.handler.ssl with parameters of type ChannelFutureModifier and TypeMethodDescriptionvoid
SslHandler.ClosingChannelFutureListener.operationComplete
(ChannelFuture closeNotifyFuture) Constructors in org.jboss.netty.handler.ssl with parameters of type ChannelFutureModifierConstructorDescription(package private)
PendingWrite
(ChannelFuture future, ByteBuffer outAppBuf) -
Uses of ChannelFuture in org.jboss.netty.handler.timeout
Fields in org.jboss.netty.handler.timeout declared as ChannelFutureModifier and TypeFieldDescriptionprivate final ChannelFuture
WriteTimeoutHandler.WriteTimeoutTask.future
Methods in org.jboss.netty.handler.timeout that return ChannelFutureMethods in org.jboss.netty.handler.timeout with parameters of type ChannelFutureModifier and TypeMethodDescriptionvoid
WriteTimeoutHandler.TimeoutCanceller.operationComplete
(ChannelFuture future) Constructors in org.jboss.netty.handler.timeout with parameters of type ChannelFutureModifierConstructorDescription(package private)
WriteTimeoutTask
(ChannelHandlerContext ctx, ChannelFuture future)