Class ChannelPromiseNotifier

All Implemented Interfaces:
ChannelFutureListener, GenericFutureListener<ChannelFuture>, EventListener

@Deprecated public final class ChannelPromiseNotifier extends PromiseNotifier<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.