com.valescom.support.timer.java
Class PeriodicTimer
java.lang.Object
|
+--com.valescom.support.event.java.EventHandler
|
+--com.valescom.support.timer.java.Timer
|
+--com.valescom.support.timer.java.PeriodicTimer
- public abstract class PeriodicTimer
- extends Timer
- Responsibility:
- Performing a task periodically.
- Usage:
new PeriodicTimer(10)
{
public final void
handle(Event anEvent)
{
// do something, such as sending a heartbeat signal
}
}.start();
-

|
Method Summary |
protected void |
timeout()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeriodicTimer
protected PeriodicTimer(int anInterval)
timeout
protected final void timeout()
- Overrides:
timeout in class Timer
Copyright 1998, 2003 - Valescom