Package org.asynchttpclient.netty
Class SimpleChannelFutureListener
- java.lang.Object
-
- org.asynchttpclient.netty.SimpleChannelFutureListener
-
- All Implemented Interfaces:
io.netty.channel.ChannelFutureListener
,io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture>
,EventListener
public abstract class SimpleChannelFutureListener extends Object implements io.netty.channel.ChannelFutureListener
-
-
Constructor Summary
Constructors Constructor Description SimpleChannelFutureListener()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
operationComplete
public final void operationComplete(io.netty.channel.ChannelFuture future)
- Specified by:
operationComplete
in interfaceio.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture>
-
onSuccess
public abstract void onSuccess(io.netty.channel.Channel channel)
-
onFailure
public abstract void onFailure(io.netty.channel.Channel channel, Throwable cause)
-
-