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)
throws Exception
operationComplete in interface io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture>Exceptionpublic abstract void onSuccess(io.netty.channel.Channel channel)
public abstract void onFailure(io.netty.channel.Channel channel,
Throwable cause)
Copyright © 2017. All Rights Reserved.