In Netty 3 there is the DefualtChannelFuture class.
It is used to create an instance of ChannelFuture
. What would the replacement be in Netty 4?
In Netty 3 there is the DefualtChannelFuture class.
It is used to create an instance of ChannelFuture
. What would the replacement be in Netty 4?
Copyright © 2021 Jogjafile Inc.
Call
Channel.newPromise()
orChannelHandlerContext.newPromise()
if you need to create an own instance of aChannelPromise
. AChannelPromise
is a sub-type ofChannelFuture
.