0

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?

Finlay Weber
  • 2,989
  • 3
  • 17
  • 37

1 Answers1

0

Call Channel.newPromise() or ChannelHandlerContext.newPromise()if you need to create an own instance of a ChannelPromise. A ChannelPromise is a sub-type of ChannelFuture.

Norman Maurer
  • 23,104
  • 2
  • 33
  • 31