Uses of Interface
org.jboss.netty.channel.ChannelFuture
-
Packages that use ChannelFuture Package Description org.jboss.netty.bootstrap IoC/DI friendly helper classes which enable an easy implementation of typical client side and server side channel initialization.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.channel.group A channel registry which helps a user maintain the list of openChannels and perform bulk operations on them.org.jboss.netty.channel.local A virtual transport that enables the communication between the two parties in the same virtual machine.org.jboss.netty.channel.socket Abstract TCP and UDP socket interfaces which extend the core channel API.org.jboss.netty.channel.socket.http An HTTP-based client-sideSocketChanneland its corresponding server-side Servlet implementation that make your existing server application work in a firewalled network.org.jboss.netty.channel.socket.nio NIO-based socket channel API implementation - recommended for a large number of connections (>= 1000).org.jboss.netty.channel.socket.oio Old blocking I/O based socket channel API implementation - recommended for a small number of connections (< 1000).org.jboss.netty.example.securechat org.jboss.netty.handler.codec.compression Encoder and decoder which compresses and decompressesChannelBuffers in a compression format such as zlib and gzip.org.jboss.netty.handler.codec.embedder 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.org.jboss.netty.handler.codec.http.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames.org.jboss.netty.handler.codec.spdy Encoder, decoder, session handler and their related message types for the SPDY protocol.org.jboss.netty.handler.ipfilter Implementation of a Ip based Filter handlers.
org.jboss.netty.handler.ssl SSL · TLS implementation based onSSLEngineorg.jboss.netty.handler.timeout Adds support for read and write timeout and idle connection notification using aTimer. -
-
Uses of ChannelFuture in org.jboss.netty.bootstrap
Methods in org.jboss.netty.bootstrap that return ChannelFuture Modifier and Type Method Description ChannelFutureClientBootstrap. bind(java.net.SocketAddress localAddress)Attempts to bind a channel with the specifiedlocalAddress.ChannelFutureServerBootstrap. bindAsync()Bind a channel asynchronous to the local address specified in the current"localAddress"option.ChannelFutureServerBootstrap. bindAsync(java.net.SocketAddress localAddress)Bind a channel asynchronous to the specified local address.ChannelFutureClientBootstrap. connect()Attempts a new connection with the current"remoteAddress"and"localAddress"option.ChannelFutureClientBootstrap. connect(java.net.SocketAddress remoteAddress)Attempts a new connection with the specifiedremoteAddressand the current"localAddress"option.ChannelFutureClientBootstrap. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress)Attempts a new connection with the specifiedremoteAddressand the specifiedlocalAddress.ChannelFutureConnectionlessBootstrap. connect()Creates a new connected channel with the current"remoteAddress"and"localAddress"option.ChannelFutureConnectionlessBootstrap. connect(java.net.SocketAddress remoteAddress)Creates a new connected channel with the specified"remoteAddress"and the current"localAddress"option.ChannelFutureConnectionlessBootstrap. connect(java.net.SocketAddress remoteAddress, java.net.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 ChannelFuture Modifier and Type Class Description private classAbstractChannel.ChannelCloseFutureclassCompleteChannelFutureA skeletalChannelFutureimplementation which represents aChannelFuturewhich has been completed already.classDefaultChannelFutureThe defaultChannelFutureimplementation.classFailedChannelFutureTheCompleteChannelFuturewhich is failed already.classSucceededChannelFutureTheCompleteChannelFuturewhich is succeeded already.Fields in org.jboss.netty.channel declared as ChannelFuture Modifier and Type Field Description private ChannelFutureChannelFutureNotifier. futureprivate ChannelFutureDownstreamChannelStateEvent. futureprivate ChannelFutureDownstreamMessageEvent. futureprivate ChannelFutureAbstractChannel. succeededFutureMethods in org.jboss.netty.channel that return ChannelFuture Modifier and Type Method Description ChannelFutureChannelFuture. await()Waits for this future to be completed.ChannelFutureCompleteChannelFuture. await()ChannelFutureDefaultChannelFuture. await()ChannelFutureChannelFuture. awaitUninterruptibly()Waits for this future to be completed without interruption.ChannelFutureCompleteChannelFuture. awaitUninterruptibly()ChannelFutureDefaultChannelFuture. awaitUninterruptibly()ChannelFutureAbstractChannel. bind(java.net.SocketAddress localAddress)ChannelFutureChannel. bind(java.net.SocketAddress localAddress)Binds this channel to the specified local address asynchronously.static ChannelFutureChannels. bind(Channel channel, java.net.SocketAddress localAddress)Sends a"bind"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.ChannelFutureAbstractChannel. close()ChannelFutureChannel. close()Closes this channel asynchronously.static ChannelFutureChannels. close(Channel channel)Sends a"close"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.ChannelFutureAbstractChannel. connect(java.net.SocketAddress remoteAddress)ChannelFutureAbstractServerChannel. connect(java.net.SocketAddress remoteAddress)ChannelFutureChannel. connect(java.net.SocketAddress remoteAddress)Connects this channel to the specified remote address asynchronously.static ChannelFutureChannels. connect(Channel channel, java.net.SocketAddress remoteAddress)Sends a"connect"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.ChannelFutureAbstractChannel. disconnect()ChannelFutureAbstractServerChannel. disconnect()ChannelFutureChannel. disconnect()Disconnects this channel from the current remote address asynchronously.static ChannelFutureChannels. disconnect(Channel channel)Sends a"disconnect"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.ChannelFutureAbstractChannelSink. execute(ChannelPipeline pipeline, java.lang.Runnable task)This implementation just directly callRunnable.run().ChannelFutureChannelPipeline. execute(java.lang.Runnable task)Schedules the specified task to be executed in the I/O thread associated with this pipeline'sChannel.ChannelFutureChannelSink. execute(ChannelPipeline pipeline, java.lang.Runnable task)Execute the givenRunnablelater in the io-thread.ChannelFutureDefaultChannelPipeline.DiscardingChannelSink. execute(ChannelPipeline pipeline, java.lang.Runnable task)ChannelFutureDefaultChannelPipeline. execute(java.lang.Runnable task)static ChannelFutureChannels. failedFuture(Channel channel, java.lang.Throwable cause)Creates a newChannelFuturewhich has failed already for the specifiedChannel.static ChannelFutureChannels. fireChannelClosedLater(Channel channel)Sends a"channelClosed"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannelonce the io-thread runs again.static ChannelFutureChannels. fireChannelDisconnectedLater(Channel channel)Sends a"channelDisconnected"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannelonce the io-thread runs again.static ChannelFutureChannels. fireChannelInterestChangedLater(Channel channel)Sends a"channelInterestChanged"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannelonce the io-thread runs again.static ChannelFutureChannels. fireChannelUnboundLater(Channel channel)Sends a"channelUnbound"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannelonce the io-thread runs again.static ChannelFutureChannels. fireExceptionCaughtLater(ChannelHandlerContext ctx, java.lang.Throwable cause)Sends a"exceptionCaught"event to theChannelUpstreamHandlerwhich is placed in the closest upstream from the handler associated with the specifiedChannelHandlerContextonce the io-thread runs again.static ChannelFutureChannels. fireExceptionCaughtLater(Channel channel, java.lang.Throwable cause)Sends a"exceptionCaught"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannelonce the io-thread runs again.static ChannelFutureChannels. fireWriteCompleteLater(Channel channel, long amount)Sends a"writeComplete"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannelin the next io-thread.static ChannelFutureChannels. future(Channel channel)Creates a new non-cancellableChannelFuturefor the specifiedChannel.static ChannelFutureChannels. future(Channel channel, boolean cancellable)Creates a newChannelFuturefor the specifiedChannel.ChannelFutureAbstractChannel. getCloseFuture()ChannelFutureChannel. getCloseFuture()Returns theChannelFuturewhich will be notified when this channel is closed.ChannelFutureChannelEvent. getFuture()Returns theChannelFuturewhich is associated with this event.ChannelFutureDefaultChildChannelStateEvent. getFuture()ChannelFutureDefaultExceptionEvent. getFuture()ChannelFutureDefaultWriteCompletionEvent. getFuture()ChannelFutureDownstreamChannelStateEvent. getFuture()ChannelFutureDownstreamMessageEvent. getFuture()ChannelFutureUpstreamChannelStateEvent. getFuture()ChannelFutureUpstreamMessageEvent. getFuture()protected ChannelFutureAbstractChannel. getSucceededFuture()Returns the cachedSucceededChannelFutureinstance.protected ChannelFutureAbstractChannel. getUnsupportedOperationFuture()Returns theFailedChannelFuturewhose cause is anUnsupportedOperationException.ChannelFutureAbstractChannel. setInterestOps(int interestOps)ChannelFutureAbstractServerChannel. setInterestOps(int interestOps)ChannelFutureChannel. setInterestOps(int interestOps)Changes theinterestOpsof this channel asynchronously.static ChannelFutureChannels. setInterestOps(Channel channel, int interestOps)Sends a"setInterestOps"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.ChannelFutureAbstractChannel. setReadable(boolean readable)ChannelFutureChannel. setReadable(boolean readable)Suspends or resumes the read operation of the I/O thread asynchronously.static ChannelFutureChannels. succeededFuture(Channel channel)Creates a newChannelFuturewhich is already succeeded for the specifiedChannel.ChannelFutureChannelFuture. sync()Waits for this future until it is done, and rethrows the cause of the failure if this future failed.ChannelFutureDefaultChannelFuture. sync()ChannelFutureFailedChannelFuture. sync()ChannelFutureSucceededChannelFuture. sync()ChannelFutureChannelFuture. syncUninterruptibly()Waits for this future until it is done, and rethrows the cause of the failure if this future failed.ChannelFutureDefaultChannelFuture. syncUninterruptibly()ChannelFutureFailedChannelFuture. syncUninterruptibly()ChannelFutureSucceededChannelFuture. syncUninterruptibly()ChannelFutureAbstractChannel. unbind()ChannelFutureChannel. unbind()Unbinds this channel from the current local address asynchronously.static ChannelFutureChannels. unbind(Channel channel)Sends a"unbind"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.ChannelFutureAbstractChannel. write(java.lang.Object message)ChannelFutureAbstractChannel. write(java.lang.Object message, java.net.SocketAddress remoteAddress)ChannelFutureAbstractServerChannel. write(java.lang.Object message)ChannelFutureAbstractServerChannel. write(java.lang.Object message, java.net.SocketAddress remoteAddress)ChannelFutureChannel. write(java.lang.Object message)Sends a message to this channel asynchronously.ChannelFutureChannel. write(java.lang.Object message, java.net.SocketAddress remoteAddress)Sends a message to this channel asynchronously.static ChannelFutureChannels. write(Channel channel, java.lang.Object message)Sends a"write"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.static ChannelFutureChannels. write(Channel channel, java.lang.Object message, java.net.SocketAddress remoteAddress)Sends a"write"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.Methods in org.jboss.netty.channel with parameters of type ChannelFuture Modifier and Type Method Description static voidChannels. bind(ChannelHandlerContext ctx, ChannelFuture future, java.net.SocketAddress localAddress)Sends a"bind"request to theChannelDownstreamHandlerwhich is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext.static voidChannels. close(ChannelHandlerContext ctx, ChannelFuture future)Sends a"close"request to theChannelDownstreamHandlerwhich is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext.static voidChannels. connect(ChannelHandlerContext ctx, ChannelFuture future, java.net.SocketAddress remoteAddress)Sends a"connect"request to theChannelDownstreamHandlerwhich is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext.static voidChannels. disconnect(ChannelHandlerContext ctx, ChannelFuture future)Sends a"disconnect"request to theChannelDownstreamHandlerwhich is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext.voidChannelFutureListener. operationComplete(ChannelFuture future)Invoked when the I/O operation associated with theChannelFuturehas been completed.voidChannelFutureNotifier. operationComplete(ChannelFuture cf)voidChannelFutureProgressListener. operationProgressed(ChannelFuture future, long amount, long current, long total)Invoked when the I/O operation associated with theChannelFuturehas been progressed.static voidChannels. setInterestOps(ChannelHandlerContext ctx, ChannelFuture future, int interestOps)Sends a"setInterestOps"request to theChannelDownstreamHandlerwhich is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext.static voidChannels. unbind(ChannelHandlerContext ctx, ChannelFuture future)Sends a"unbind"request to theChannelDownstreamHandlerwhich is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext.static voidChannels. write(ChannelHandlerContext ctx, ChannelFuture future, java.lang.Object message)Sends a"write"request to theChannelDownstreamHandlerwhich is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext.static voidChannels. write(ChannelHandlerContext ctx, ChannelFuture future, java.lang.Object message, java.net.SocketAddress remoteAddress)Sends a"write"request to theChannelDownstreamHandlerwhich is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext.Constructors in org.jboss.netty.channel with parameters of type ChannelFuture Constructor Description ChannelFutureNotifier(ChannelFuture future)DownstreamChannelStateEvent(Channel channel, ChannelFuture future, ChannelState state, java.lang.Object value)Creates a new instance.DownstreamMessageEvent(Channel channel, ChannelFuture future, java.lang.Object message, java.net.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 ChannelFuture Modifier and Type Field Description (package private) java.util.Map<java.lang.Integer,ChannelFuture>DefaultChannelGroupFuture. futuresMethods in org.jboss.netty.channel.group that return ChannelFuture Modifier and Type Method Description ChannelFutureChannelGroupFuture. find(java.lang.Integer channelId)Returns theChannelFutureof the individual I/O operation which is associated with theChannelwhose ID matches the specified integer.ChannelFutureChannelGroupFuture. find(Channel channel)Returns theChannelFutureof the individual I/O operation which is associated with the specifiedChannel.ChannelFutureDefaultChannelGroupFuture. find(java.lang.Integer channelId)ChannelFutureDefaultChannelGroupFuture. find(Channel channel)Methods in org.jboss.netty.channel.group that return types with arguments of type ChannelFuture Modifier and Type Method Description java.util.Iterator<ChannelFuture>ChannelGroupFuture. iterator()Returns theIteratorthat enumerates allChannelFutures which are associated with this future.java.util.Iterator<ChannelFuture>DefaultChannelGroupFuture. iterator()Constructor parameters in org.jboss.netty.channel.group with type arguments of type ChannelFuture Constructor Description DefaultChannelGroupFuture(ChannelGroup group, java.util.Collection<ChannelFuture> futures)Creates a new instance.DefaultChannelGroupFuture(ChannelGroup group, java.util.Map<java.lang.Integer,ChannelFuture> futures) -
Uses of ChannelFuture in org.jboss.netty.channel.local
Methods in org.jboss.netty.channel.local with parameters of type ChannelFuture Modifier and Type Method Description private static voidLocalClientChannelSink. bind(DefaultLocalChannel channel, ChannelFuture future, LocalAddress localAddress)private static voidLocalServerChannelSink. bind(DefaultLocalServerChannel channel, ChannelFuture future, LocalAddress localAddress)private static voidLocalServerChannelSink. close(DefaultLocalServerChannel channel, ChannelFuture future)(package private) voidDefaultLocalChannel. closeNow(ChannelFuture future)private voidLocalClientChannelSink. 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 ChannelFuture Modifier and Type Class Description classChannelRunnableWrapperMethods in org.jboss.netty.channel.socket that return ChannelFuture Modifier and Type Method Description ChannelFutureDatagramChannel. joinGroup(java.net.InetAddress multicastAddress)Joins a multicast group.ChannelFutureDatagramChannel. joinGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface)Joins the specified multicast group at the specified interface.ChannelFutureDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress)Leaves a multicast group.ChannelFutureDatagramChannel. leaveGroup(java.net.InetSocketAddress multicastAddress, java.net.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 ChannelFuture Modifier and Type Method Description ChannelFutureHttpTunnelingClientSocketChannel. write(java.lang.Object message, java.net.SocketAddress remoteAddress)private ChannelFutureHttpTunnelingClientSocketChannel. writeLastChunk()Methods in org.jboss.netty.channel.socket.http with parameters of type ChannelFuture Modifier and Type Method Description (package private) voidHttpTunnelingClientSocketChannel. bindReal(java.net.SocketAddress localAddress, ChannelFuture future)(package private) voidHttpTunnelingClientSocketChannel. closeReal(ChannelFuture future)(package private) voidHttpTunnelingClientSocketChannel. connectReal(java.net.SocketAddress remoteAddress, ChannelFuture future)(package private) voidHttpTunnelingClientSocketChannel. disconnectReal(ChannelFuture future)(package private) voidHttpTunnelingClientSocketChannel. setInterestOpsReal(int interestOps, ChannelFuture future)(package private) voidHttpTunnelingClientSocketChannel. unbindReal(ChannelFuture future)(package private) voidHttpTunnelingClientSocketChannel. 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 ChannelFuture Modifier and Type Field Description (package private) ChannelFutureNioClientSocketChannel. connectFutureprivate ChannelFutureNioDatagramWorker.ChannelRegistionTask. futureprivate ChannelFutureNioServerBoss.RegisterTask. futureprivate ChannelFutureNioWorker.RegisterTask. futureMethods in org.jboss.netty.channel.socket.nio that return ChannelFuture Modifier and Type Method Description ChannelFutureNioDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.InetAddress sourceToBlock)Block the given sourceToBlock address for the given multicastAddressChannelFutureNioDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress sourceToBlock)Block the given sourceToBlock address for the given multicastAddress on the given networkInterfaceChannelFutureAbstractNioChannelSink. execute(ChannelPipeline pipeline, java.lang.Runnable task)ChannelFutureNioDatagramChannel. joinGroup(java.net.InetAddress multicastAddress)ChannelFutureNioDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source)Joins the specified multicast group at the specified interface using the specified source.ChannelFutureNioDatagramChannel. joinGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface)ChannelFutureNioDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress)ChannelFutureNioDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source)Leave the specified multicast group at the specified interface using the specified source.ChannelFutureNioDatagramChannel. leaveGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface)ChannelFutureNioDatagramChannel. write(java.lang.Object message, java.net.SocketAddress remoteAddress)ChannelFutureNioSocketChannel. write(java.lang.Object message, java.net.SocketAddress remoteAddress)Methods in org.jboss.netty.channel.socket.nio with parameters of type ChannelFuture Modifier and Type Method Description private static voidNioClientSocketPipelineSink. bind(NioClientSocketChannel channel, ChannelFuture future, java.net.SocketAddress localAddress)private static voidNioDatagramPipelineSink. bind(NioDatagramChannel channel, ChannelFuture future, java.net.InetSocketAddress address)Will bind the DatagramSocket to the passed-in address.(package private) voidNioServerBoss. bind(NioServerSocketChannel channel, ChannelFuture future, java.net.SocketAddress localAddress)protected voidAbstractNioWorker. close(AbstractNioChannel<?> channel, ChannelFuture future)private static voidNioDatagramPipelineSink. close(NioDatagramChannel channel, ChannelFuture future)(package private) voidNioServerBoss. close(NioServerSocketChannel channel, ChannelFuture future)private voidNioClientSocketPipelineSink. connect(NioClientSocketChannel channel, ChannelFuture cf, java.net.SocketAddress remoteAddress)private static voidNioDatagramPipelineSink. connect(NioDatagramChannel channel, ChannelFuture future, java.net.InetSocketAddress remoteAddress)protected abstract java.lang.RunnableAbstractNioSelector. createRegisterTask(Channel channel, ChannelFuture future)protected java.lang.RunnableNioClientBoss. createRegisterTask(Channel channel, ChannelFuture future)protected java.lang.RunnableNioDatagramWorker. createRegisterTask(Channel channel, ChannelFuture future)protected java.lang.RunnableNioServerBoss. createRegisterTask(Channel channel, ChannelFuture future)protected java.lang.RunnableNioWorker. createRegisterTask(Channel channel, ChannelFuture future)(package private) static voidNioDatagramWorker. disconnect(NioDatagramChannel channel, ChannelFuture future)voidAbstractNioSelector. register(Channel channel, ChannelFuture future)voidNioSelector. register(Channel channel, ChannelFuture future)(package private) voidAbstractNioWorker. setInterestOps(AbstractNioChannel<?> channel, ChannelFuture future, int interestOps)Constructors in org.jboss.netty.channel.socket.nio with parameters of type ChannelFuture Constructor Description ChannelRegistionTask(NioDatagramChannel channel, ChannelFuture future)RegisterTask(NioServerSocketChannel channel, ChannelFuture future, java.net.SocketAddress localAddress)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 ChannelFuture Modifier and Type Method Description ChannelFutureAbstractOioChannelSink. execute(ChannelPipeline pipeline, java.lang.Runnable task)ChannelFutureOioDatagramChannel. joinGroup(java.net.InetAddress multicastAddress)ChannelFutureOioDatagramChannel. joinGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface)ChannelFutureOioDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress)ChannelFutureOioDatagramChannel. leaveGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface)ChannelFutureAbstractOioChannel. write(java.lang.Object message, java.net.SocketAddress remoteAddress)Methods in org.jboss.netty.channel.socket.oio with parameters of type ChannelFuture Modifier and Type Method Description private static voidOioClientSocketPipelineSink. bind(OioClientSocketChannel channel, ChannelFuture future, java.net.SocketAddress localAddress)private voidOioDatagramPipelineSink. bind(OioDatagramChannel channel, ChannelFuture future, java.net.SocketAddress localAddress)private voidOioServerSocketPipelineSink. bind(OioServerSocketChannel channel, ChannelFuture future, java.net.SocketAddress localAddress)(package private) static voidAbstractOioWorker. close(AbstractOioChannel channel, ChannelFuture future)private static voidAbstractOioWorker. close(AbstractOioChannel channel, ChannelFuture future, boolean iothread)private static voidOioServerSocketPipelineSink. close(OioServerSocketChannel channel, ChannelFuture future)private voidOioClientSocketPipelineSink. connect(OioClientSocketChannel channel, ChannelFuture future, java.net.SocketAddress remoteAddress)private voidOioDatagramPipelineSink. connect(OioDatagramChannel channel, ChannelFuture future, java.net.SocketAddress remoteAddress)(package private) static voidOioDatagramWorker. disconnect(OioDatagramChannel channel, ChannelFuture future)(package private) static voidAbstractOioWorker. setInterestOps(AbstractOioChannel channel, ChannelFuture future, int interestOps)(package private) static voidOioDatagramWorker. write(OioDatagramChannel channel, ChannelFuture future, java.lang.Object message, java.net.SocketAddress remoteAddress)(package private) static voidOioWorker. write(OioSocketChannel channel, ChannelFuture future, java.lang.Object message) -
Uses of ChannelFuture in org.jboss.netty.example.securechat
Methods in org.jboss.netty.example.securechat with parameters of type ChannelFuture Modifier and Type Method Description voidSecureChatServerHandler.Greeter. operationComplete(ChannelFuture future) -
Uses of ChannelFuture in org.jboss.netty.handler.codec.compression
Methods in org.jboss.netty.handler.codec.compression that return ChannelFuture Modifier and Type Method Description ChannelFutureJdkZlibEncoder. close()ChannelFutureZlibEncoder. close()private ChannelFutureJdkZlibEncoder. finishEncode(ChannelHandlerContext ctx, ChannelEvent evt)private ChannelFutureZlibEncoder. 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 ChannelFuture Modifier and Type Method Description ChannelFutureAbstractCodecEmbedder.EmbeddedChannelSink. execute(ChannelPipeline pipeline, java.lang.Runnable task) -
Uses of ChannelFuture in org.jboss.netty.handler.codec.http.websocketx
Methods in org.jboss.netty.handler.codec.http.websocketx that return ChannelFuture Modifier and Type Method Description abstract ChannelFutureWebSocketServerHandshaker. close(Channel channel, CloseWebSocketFrame frame)Performs the closing handshakeChannelFutureWebSocketServerHandshaker00. close(Channel channel, CloseWebSocketFrame frame)Echo back the closing frameChannelFutureWebSocketServerHandshaker07. close(Channel channel, CloseWebSocketFrame frame)Echo back the closing frame and close the connectionChannelFutureWebSocketServerHandshaker08. close(Channel channel, CloseWebSocketFrame frame)Echo back the closing frame and close the connectionChannelFutureWebSocketServerHandshaker13. close(Channel channel, CloseWebSocketFrame frame)Echo back the closing frame and close the connectionabstract ChannelFutureWebSocketClientHandshaker. handshake(Channel channel)Begins the opening handshakeChannelFutureWebSocketClientHandshaker00. handshake(Channel channel)Sends the opening request to the server:ChannelFutureWebSocketClientHandshaker07. handshake(Channel channel)/**ChannelFutureWebSocketClientHandshaker08. handshake(Channel channel)/**ChannelFutureWebSocketClientHandshaker13. handshake(Channel channel)/**abstract ChannelFutureWebSocketServerHandshaker. handshake(Channel channel, HttpRequest req)Performs the opening handshakeChannelFutureWebSocketServerHandshaker00. handshake(Channel channel, HttpRequest req)Handle the web socket handshake for the web socket specification HyBi version 0 and lower.ChannelFutureWebSocketServerHandshaker07. handshake(Channel channel, HttpRequest req)Handle the web socket handshake for the web socket specification HyBi version 7.ChannelFutureWebSocketServerHandshaker08. handshake(Channel channel, HttpRequest req)Handle the web socket handshake for the web socket specification HyBi version 8 to 10.ChannelFutureWebSocketServerHandshaker13. handshake(Channel channel, HttpRequest req)Handle the web socket handshake for the web socket specification HyBi versions 13-17.ChannelFutureWebSocketServerHandshakerFactory. sendUnsupportedWebSocketVersionResponse(Channel channel)Return that we need cannot not support the web socket versionprotected ChannelFutureWebSocketServerHandshaker. 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 ChannelFuture Modifier and Type Method Description private static ChannelFutureSpdyHttpEncoder. getDataFuture(ChannelHandlerContext ctx, ChannelFuture future, SpdyDataFrame[] spdyDataFrames, java.net.SocketAddress remoteAddress)private ChannelFutureSpdyHttpEncoder. getMessageFuture(ChannelHandlerContext ctx, MessageEvent e, int streamId, HttpMessage httpMessage)private ChannelFutureSpdySessionHandler. sendGoAwayFrame(ChannelHandlerContext ctx, Channel channel, java.net.SocketAddress remoteAddress, SpdySessionStatus status)Methods in org.jboss.netty.handler.codec.spdy with parameters of type ChannelFuture Modifier and Type Method Description private static ChannelFutureSpdyHttpEncoder. getDataFuture(ChannelHandlerContext ctx, ChannelFuture future, SpdyDataFrame[] spdyDataFrames, java.net.SocketAddress remoteAddress)private voidSpdySessionHandler. halfCloseStream(int streamId, boolean remote, ChannelFuture future)voidSpdyHttpEncoder.SpdyFrameWriter. operationComplete(ChannelFuture future)voidSpdySessionHandler.ClosingChannelFutureListener. operationComplete(ChannelFuture sentGoAwayFuture)private voidSpdySessionHandler. removeStream(int streamId, ChannelFuture future)protected voidSpdyHttpEncoder. writeChunk(ChannelHandlerContext ctx, ChannelFuture future, int streamId, HttpChunk chunk, java.net.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 ChannelFuture Modifier and Type Method Description ChannelFutureIpFilterListener. allowed(ChannelHandlerContext ctx, ChannelEvent e, java.net.InetSocketAddress inetSocketAddress)Called when the channel has the CONNECTED status and the channel was allowed by a previous call to accept().protected ChannelFutureIpFilteringHandlerImpl. handleAllowedChannel(ChannelHandlerContext ctx, ChannelEvent e, java.net.InetSocketAddress inetSocketAddress)protected ChannelFutureIpFilteringHandlerImpl. handleRefusedChannel(ChannelHandlerContext ctx, ChannelEvent e, java.net.InetSocketAddress inetSocketAddress)Called when the channel has the CONNECTED status and the channel was refused by a previous call to accept().ChannelFutureIpFilterListener. refused(ChannelHandlerContext ctx, ChannelEvent e, java.net.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 ChannelFuture Modifier and Type Class Description private classSslHandler.SSLEngineInboundCloseFutureFields in org.jboss.netty.handler.ssl declared as ChannelFuture Modifier and Type Field Description (package private) ChannelFutureSslHandler.PendingWrite. futureprivate ChannelFutureSslHandler. handshakeFutureMethods in org.jboss.netty.handler.ssl that return ChannelFuture Modifier and Type Method Description ChannelFutureSslHandler. close()Sends an SSLclose_notifymessage to the specified channel and destroys the underlyingSSLEngine.ChannelFutureSslHandler. getSSLEngineInboundCloseFuture()Return theChannelFuturethat will get notified if the inbound of theSSLEnginewill get closed.ChannelFutureSslHandler. handshake()Starts an SSL / TLS handshake for the specified channel.private ChannelFutureSslHandler. wrapNonAppData(ChannelHandlerContext ctx, Channel channel)Methods in org.jboss.netty.handler.ssl with parameters of type ChannelFuture Modifier and Type Method Description voidSslHandler.ClosingChannelFutureListener. operationComplete(ChannelFuture closeNotifyFuture)Constructors in org.jboss.netty.handler.ssl with parameters of type ChannelFuture Constructor Description PendingWrite(ChannelFuture future, java.nio.ByteBuffer outAppBuf) -
Uses of ChannelFuture in org.jboss.netty.handler.timeout
Fields in org.jboss.netty.handler.timeout declared as ChannelFuture Modifier and Type Field Description private ChannelFutureWriteTimeoutHandler.WriteTimeoutTask. futureMethods in org.jboss.netty.handler.timeout that return ChannelFuture Modifier and Type Method Description ChannelFutureDefaultIdleStateEvent. getFuture()Methods in org.jboss.netty.handler.timeout with parameters of type ChannelFuture Modifier and Type Method Description voidWriteTimeoutHandler.TimeoutCanceller. operationComplete(ChannelFuture future)Constructors in org.jboss.netty.handler.timeout with parameters of type ChannelFuture Constructor Description WriteTimeoutTask(ChannelHandlerContext ctx, ChannelFuture future)
-