taxisrus.implementation.scheduler_stuff
Class SchedulerTask
java.lang.Object
|
+--java.util.TimerTask
|
+--taxisrus.implementation.scheduler_stuff.SchedulerTask
- All Implemented Interfaces:
- Runnable
- public class SchedulerTask
- extends TimerTask
|
Method Summary |
void |
run()
Task run by Timer class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
default_delay
public static final int default_delay
SchedulerTask
public SchedulerTask(Scheduler scheduler_referance)
- Constructor. This is passed a Customer to be picked up later, and then
stores it. The Scheduler passed is the main scheduler.
- Parameters:
Customer - to_pickupScheduler - scheduler_referance
run
public void run()
- Task run by Timer class. This simply executes the Scheduler's
scheduleAllCustomers method.
- Overrides:
run in class TimerTask
API documentation for build 958