cz.cuni.amis.pogamut.base.agent.utils
Class AgentKeepAlive

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.utils.AgentKeepAlive

public class AgentKeepAlive
extends java.lang.Object


Constructor Summary
AgentKeepAlive(IAgent agent, long reconnectWaitMillis)
           
 
Method Summary
 java.lang.Long getNextRestart()
           
 boolean isRunning()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentKeepAlive

public AgentKeepAlive(IAgent agent,
                      long reconnectWaitMillis)
Method Detail

start

public void start()

stop

public void stop()

getNextRestart

public java.lang.Long getNextRestart()

isRunning

public boolean isRunning()