agentland.util.scheduler
Class SchedulerAgent.Timer

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--agentland.util.scheduler.SchedulerAgent.Timer
All Implemented Interfaces:
Runnable
Enclosing class:
SchedulerAgent

protected class SchedulerAgent.Timer
extends Thread

This class deals with the timing for our scheduler agent

See Also:
Thread

Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SchedulerAgent.Timer(SchedulerAgent sa)
           
 
Method Summary
 void resetTimer(long wakeUpTime)
          Give a new wake up time for the timer
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SchedulerAgent.Timer

public SchedulerAgent.Timer(SchedulerAgent sa)
Method Detail

resetTimer

public void resetTimer(long wakeUpTime)
Give a new wake up time for the timer
Parameters:
wakeUpTime - the usual long encoding of time...

run

public void run()
Overrides:
run in class Thread