public abstract class SimpleChannelFutureListener extends Object implements io.netty.channel.ChannelFutureListener
Constructor and Description |
---|
SimpleChannelFutureListener() |
Modifier and Type | Method and Description |
---|---|
abstract void |
onFailure(io.netty.channel.Channel channel,
Throwable cause) |
abstract void |
onSuccess(io.netty.channel.Channel channel) |
void |
operationComplete(io.netty.channel.ChannelFuture future) |
public final void operationComplete(io.netty.channel.ChannelFuture future)
operationComplete
in interface io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture>
public abstract void onSuccess(io.netty.channel.Channel channel)
public abstract void onFailure(io.netty.channel.Channel channel, Throwable cause)
Copyright © 2021. All rights reserved.