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


Field Summary
static int default_delay
           
 
Constructor Summary
SchedulerTask(Scheduler scheduler_referance)
          Constructor.
 
Method Summary
 void run()
          Task run by Timer class.
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

default_delay

public static final int default_delay
Constructor Detail

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_pickup
Scheduler - scheduler_referance
Method Detail

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