hkontrol.util
Class Watchdog

java.lang.Object
  extended by hkontrol.util.Watchdog
All Implemented Interfaces:
java.lang.Runnable

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


Constructor Summary
Watchdog(long delayMs, long timeoutMs, WatchdogAction action, boolean restartOnTimeout)
           
 
Method Summary
 void run()
           
 void trigger()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Watchdog

public Watchdog(long delayMs,
                long timeoutMs,
                WatchdogAction action,
                boolean restartOnTimeout)
Method Detail

trigger

public final void trigger()

run

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