Uses of Interface
org.jboss.netty.channel.ChannelFutureListener
Packages that use ChannelFutureListener
Package
Description
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
-
Uses of ChannelFutureListener in org.jboss.netty.channel
Subinterfaces of ChannelFutureListener in org.jboss.netty.channelModifier and TypeInterfaceDescriptioninterfaceListens to the progress of a time-consuming I/O operation such as a large file transfer.Classes in org.jboss.netty.channel that implement ChannelFutureListenerModifier and TypeClassDescriptionfinal classChannelFutureListener implementation which takes another ChannelFuture and notifies it once the operationComplete method was called.Fields in org.jboss.netty.channel declared as ChannelFutureListenerModifier and TypeFieldDescriptionstatic final ChannelFutureListenerChannelFutureListener.CLOSEAChannelFutureListenerthat closes theChannelwhich is associated with the specifiedChannelFuture.static final ChannelFutureListenerChannelFutureListener.CLOSE_ON_FAILUREAChannelFutureListenerthat closes theChannelwhen the operation ended up with a failure or cancellation rather than a success.Methods in org.jboss.netty.channel with parameters of type ChannelFutureListenerModifier and TypeMethodDescriptionvoidChannelFuture.addListener(ChannelFutureListener listener) Adds the specified listener to this future.voidCompleteChannelFuture.addListener(ChannelFutureListener listener) voidDefaultChannelFuture.addListener(ChannelFutureListener listener) voidChannelFuture.removeListener(ChannelFutureListener listener) Removes the specified listener from this future.voidCompleteChannelFuture.removeListener(ChannelFutureListener listener) voidDefaultChannelFuture.removeListener(ChannelFutureListener listener) -
Uses of ChannelFutureListener in org.jboss.netty.handler.codec.http.websocketx
Fields in org.jboss.netty.handler.codec.http.websocketx declared as ChannelFutureListenerModifier and TypeFieldDescriptionstatic final ChannelFutureListenerWebSocketServerHandshaker.HANDSHAKE_LISTENERChannelFutureListenerwhich will callChannels.fireExceptionCaught(ChannelHandlerContext, Throwable)if theChannelFuturewas not successful.