Package io.netty.util.concurrent
Interface GenericFutureListener<F extends Future<?>>
-
- All Superinterfaces:
java.util.EventListener
- All Known Subinterfaces:
ChannelFutureListener,ChannelGroupFutureListener,ChannelProgressiveFutureListener,FutureListener<V>,GenericProgressiveFutureListener<F>
- All Known Implementing Classes:
ChannelPromiseAggregator,ChannelPromiseNotifier,DatagramDnsQueryContext,DefaultHttp2ConnectionEncoder.FlowControlledBase,DefaultHttp2ConnectionEncoder.FlowControlledData,DefaultHttp2ConnectionEncoder.FlowControlledHeaders,DelegatingChannelPromiseNotifier,DnsQueryContext,FixedChannelPool.AcquireListener,FixedChannelPool.AcquireTask,Http2ConnectionHandler.ClosingChannelFutureListener,PromiseAggregator,PromiseNotifier,SpdySessionHandler.ClosingChannelFutureListener,TcpDnsQueryContext,UnaryPromiseNotifier,WriteTimeoutHandler.WriteTimeoutTask
public interface GenericFutureListener<F extends Future<?>> extends java.util.EventListenerListens to the result of aFuture. The result of the asynchronous operation is notified once this listener is added by callingFuture.addListener(GenericFutureListener).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidoperationComplete(F future)Invoked when the operation associated with theFuturehas been completed.
-