public final class ChannelPromiseNotifier extends PromiseNotifier<java.lang.Void,ChannelFuture> implements ChannelFutureListener
ChannelPromise
(s)并在完成时通知它们。
CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE
Constructor and Description |
---|
ChannelPromiseNotifier(boolean logNotifyFailure, ChannelPromise... promises)
创建一个新的实例
|
ChannelPromiseNotifier(ChannelPromise... promises)
创建一个新的实例
|
operationComplete
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
operationComplete
public ChannelPromiseNotifier(ChannelPromise... promises)
promises
- ChannelPromise
通知此ChannelFutureListener
通知。
public ChannelPromiseNotifier(boolean logNotifyFailure, ChannelPromise... promises)
logNotifyFailure
-
true
如果在通知失败的情况下应该进行日志记录。
promises
- ChannelPromise
通知此ChannelFutureListener
通知。
Copyright © 2008–2018 The Netty Project. All rights reserved.