Package org.jboss.netty.channel
Class ChannelFutureNotifier
- java.lang.Object
-
- org.jboss.netty.channel.ChannelFutureNotifier
-
- All Implemented Interfaces:
java.util.EventListener,ChannelFutureListener
public final class ChannelFutureNotifier extends java.lang.Object implements ChannelFutureListener
ChannelFutureListener implementation which takes another ChannelFuture and notifies it once the operationComplete method was called.
-
-
Field Summary
Fields Modifier and Type Field Description private ChannelFuturefuture-
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 voidoperationComplete(ChannelFuture cf)Invoked when the I/O operation associated with theChannelFuturehas been completed.
-
-
-
Field Detail
-
future
private final ChannelFuture future
-
-
Constructor Detail
-
ChannelFutureNotifier
public ChannelFutureNotifier(ChannelFuture future)
-
-
Method Detail
-
operationComplete
public void operationComplete(ChannelFuture cf) throws java.lang.Exception
Description copied from interface:ChannelFutureListenerInvoked when the I/O operation associated with theChannelFuturehas been completed.- Specified by:
operationCompletein interfaceChannelFutureListener- Parameters:
cf- the sourceChannelFuturewhich called this callback- Throws:
java.lang.Exception
-
-