Class ChannelPromiseNotifier

java.lang.Object
io.netty.util.concurrent.PromiseNotifier<java.lang.Void, ChannelFuture>
io.netty.channel.ChannelPromiseNotifier
All Implemented Interfaces:
ChannelFutureListener, GenericFutureListener<ChannelFuture>, java.util.EventListener

@Deprecated public final class ChannelPromiseNotifier extends PromiseNotifier<java.lang.Void, ChannelFuture> implements ChannelFutureListener
Deprecated.
ChannelFutureListener implementation which takes other ChannelPromise(s) and notifies them on completion.
  • Constructor Details

    • ChannelPromiseNotifier

      public ChannelPromiseNotifier(ChannelPromise... promises)
      Deprecated.
      Create a new instance
      Parameters:
      promises - the ChannelPromises to notify once this ChannelFutureListener is notified.
    • ChannelPromiseNotifier

      public ChannelPromiseNotifier(boolean logNotifyFailure, ChannelPromise... promises)
      Deprecated.
      Create a new instance
      Parameters:
      logNotifyFailure - true if logging should be done in case notification fails.
      promises - the ChannelPromises to notify once this ChannelFutureListener is notified.