public abstract class SimpleChannelFutureListener extends java.lang.Object implements ChannelFutureListener
CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE
Constructor and Description |
---|
SimpleChannelFutureListener() |
Modifier and Type | Method and Description |
---|---|
abstract void |
onFailure(Channel channel,
java.lang.Throwable cause) |
abstract void |
onSuccess(Channel channel) |
void |
operationComplete(ChannelFuture future) |
public final void operationComplete(ChannelFuture future) throws java.lang.Exception
operationComplete
in interface io.netty.util.concurrent.GenericFutureListener<ChannelFuture>
java.lang.Exception
public abstract void onSuccess(Channel channel)
public abstract void onFailure(Channel channel, java.lang.Throwable cause)
Copyright © 2017. All Rights Reserved.