org.jboss.messaging.integration.transports.netty
Class HttpKeepAliveRunnable

java.lang.Object
  extended by org.jboss.messaging.integration.transports.netty.HttpKeepAliveRunnable
All Implemented Interfaces:
java.lang.Runnable

public class HttpKeepAliveRunnable
extends java.lang.Object
implements java.lang.Runnable

A simple Runnable to allow HttpAcceptorHandlers to be called intermittently.

Author:
Andy Taylor, Jeff Mesnil

Constructor Summary
HttpKeepAliveRunnable()
           
 
Method Summary
 void close()
           
 void registerKeepAliveHandler(org.jboss.messaging.integration.transports.netty.HttpAcceptorHandler httpAcceptorHandler)
           
 void run()
           
 void setFuture(java.util.concurrent.Future<?> future)
           
 void unregisterKeepAliveHandler(org.jboss.messaging.integration.transports.netty.HttpAcceptorHandler httpAcceptorHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpKeepAliveRunnable

public HttpKeepAliveRunnable()
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

registerKeepAliveHandler

public void registerKeepAliveHandler(org.jboss.messaging.integration.transports.netty.HttpAcceptorHandler httpAcceptorHandler)

unregisterKeepAliveHandler

public void unregisterKeepAliveHandler(org.jboss.messaging.integration.transports.netty.HttpAcceptorHandler httpAcceptorHandler)

close

public void close()

setFuture

public void setFuture(java.util.concurrent.Future<?> future)


Copyright © 2006 JBoss Inc. All Rights Reserved.