rero.util
Class TimerUtil

java.lang.Object
  extended byrero.util.TimerUtil
All Implemented Interfaces:
Runnable

public class TimerUtil
extends Object
implements Runnable


Field Summary
protected  long resolution
           
protected  List timers
           
 
Constructor Summary
TimerUtil()
           
 
Method Summary
 void addTimer(TimedEvent temp)
           
 void addTimer(TimerListener l, long delay)
           
 void addTimer(TimerListener l, long delay, int repeat)
           
 void run()
           
 void setResolution(long _resolution)
           
 void start()
           
 void stopTimer(TimerListener l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resolution

protected long resolution

timers

protected List timers
Constructor Detail

TimerUtil

public TimerUtil()
Method Detail

setResolution

public void setResolution(long _resolution)

start

public void start()

run

public void run()
Specified by:
run in interface Runnable

addTimer

public void addTimer(TimerListener l,
                     long delay,
                     int repeat)

addTimer

public void addTimer(TimerListener l,
                     long delay)

stopTimer

public void stopTimer(TimerListener l)

addTimer

public void addTimer(TimedEvent temp)