Package org.jboss.netty.channel
Class ChannelFutureNotifier
- java.lang.Object
-
- org.jboss.netty.channel.ChannelFutureNotifier
-
- All Implemented Interfaces:
EventListener
,ChannelFutureListener
public final class ChannelFutureNotifier extends Object implements ChannelFutureListener
ChannelFutureListener implementation which takes another ChannelFuture and notifies it once the operationComplete method was called.
-
-
Field Summary
-
Fields inherited from interface org.jboss.netty.channel.ChannelFutureListener
CLOSE, CLOSE_ON_FAILURE
-
-
Constructor Summary
Constructors Constructor Description ChannelFutureNotifier(ChannelFuture future)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
operationComplete(ChannelFuture cf)
Invoked when the I/O operation associated with theChannelFuture
has been completed.
-
-
-
Constructor Detail
-
ChannelFutureNotifier
public ChannelFutureNotifier(ChannelFuture future)
-
-
Method Detail
-
operationComplete
public void operationComplete(ChannelFuture cf) throws Exception
Description copied from interface:ChannelFutureListener
Invoked when the I/O operation associated with theChannelFuture
has been completed.- Specified by:
operationComplete
in interfaceChannelFutureListener
- Parameters:
cf
- the sourceChannelFuture
which called this callback- Throws:
Exception
-
-