Reputation: 73
I found two way to new a promise
This way need an existed channel instance
This method is protected
If i can new a generic promise without channel ?
Upvotes: 1
Views: 837
Reputation: 23567
EventExecutor.newPromise()
.
See also: http://netty.io/4.1/api/io/netty/util/concurrent/EventExecutor.html#newPromise()
Upvotes: 1