Example usage for Java io.netty.channel DefaultChannelPromise fields, constructors, methods, implement or subclass
The text is from its open source code.
DefaultChannelPromise(Channel channel, EventExecutor executor) Creates a new instance. | |
DefaultChannelPromise(Channel channel) Creates a new instance. |
boolean | cancel(boolean mayInterruptIfRunning) If the cancellation was successful it will fail the future with a CancellationException . |
ChannelPromise | setFailure(Throwable cause) |
ChannelPromise | setSuccess() |