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,DefaultHttp2ConnectionEncoder.FlowControlledBase,DelegatingChannelPromiseNotifier,PromiseAggregator,PromiseNotifier,UnaryPromiseNotifier
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.
-