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)
创建一个新的实例
|
operationCompleteclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitoperationCompletepublic 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.