Class Scheduler

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----Scheduler

public class Scheduler
extends Thread
Creates a thread which periodically calls an upcall function. On the rest of the time it busy waits ... No , just kidding , it sleeps on the rest of the time.


Constructor Index

 o Scheduler(Mud)
Creats a new thread which will call upcall.handleTimeout on timeout.

Method Index

 o run()
 o stopMe()
Used to stop me since in the new methodology it is not good to stop a thread with brute force.

Constructors

 o Scheduler
 public Scheduler(Mud upcall)
Creats a new thread which will call upcall.handleTimeout on timeout.

Methods

 o stopMe
 public void stopMe()
Used to stop me since in the new methodology it is not good to stop a thread with brute force.

 o run
 public void run()
Overrides:
run in class Thread