Package io.netty.channel
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.usePromiseNotifier
.ChannelFutureListener implementation which takes otherChannelPromise
(s) and notifies them on completion.
-
-
Field Summary
-
Fields inherited from interface io.netty.channel.ChannelFutureListener
CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE
-
-
Constructor Summary
Constructors Constructor Description ChannelPromiseNotifier(boolean logNotifyFailure, ChannelPromise... promises)
Deprecated.Create a new instanceChannelPromiseNotifier(ChannelPromise... promises)
Deprecated.Create a new instance
-
Method Summary
-
Methods inherited from class io.netty.util.concurrent.PromiseNotifier
cascade, cascade, operationComplete
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.netty.util.concurrent.GenericFutureListener
operationComplete
-
-
-
-
Constructor Detail
-
ChannelPromiseNotifier
public ChannelPromiseNotifier(ChannelPromise... promises)
Deprecated.Create a new instance- Parameters:
promises
- theChannelPromise
s to notify once thisChannelFutureListener
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
- theChannelPromise
s to notify once thisChannelFutureListener
is notified.
-
-