openr66.protocol.utils
Class ChannelCloseTimer
java.lang.Object
  
openr66.protocol.utils.ChannelCloseTimer
- All Implemented Interfaces: 
 - org.jboss.netty.util.TimerTask
 
public class ChannelCloseTimer
- extends Object
- implements org.jboss.netty.util.TimerTask
  
TimerTask to Close a Channel in the future
- Author:
 
  - Frederic Bregier
 
 
| 
Method Summary | 
static void | 
closeFutureChannel(org.jboss.netty.channel.Channel channel)
 
          Close in the future this channel | 
 void | 
run(org.jboss.netty.util.Timeout timeout)
 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ChannelCloseTimer
public ChannelCloseTimer(org.jboss.netty.channel.Channel channel)
run
public void run(org.jboss.netty.util.Timeout timeout)
         throws Exception
- Specified by:
 run in interface org.jboss.netty.util.TimerTask
 
- Throws:
 Exception
 
closeFutureChannel
public static void closeFutureChannel(org.jboss.netty.channel.Channel channel)
- Close in the future this channel
 
- Parameters:
 channel - 
 
 
Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.