org.openware.loadsim.tcl
Class Scheduler

java.lang.Object
  |
  +--org.openware.loadsim.tcl.Scheduler
All Implemented Interfaces:
java.lang.Runnable

public class Scheduler
extends java.lang.Object
implements java.lang.Runnable


Constructor Summary
Scheduler()
           
 
Method Summary
 void addRelativeCommand(tcl.lang.Interp interp, java.lang.String time, java.lang.String command)
          Add a command to execute at a time relative to the present time.
 void run()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scheduler

public Scheduler()
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

start

public void start()

stop

public void stop()

addRelativeCommand

public void addRelativeCommand(tcl.lang.Interp interp,
                               java.lang.String time,
                               java.lang.String command)
                        throws tcl.lang.TclException
Add a command to execute at a time relative to the present time.
Parameters:
interp - The Tcl interpreter to execute the command in.
time - The string that represents the number of minutes from now to execute the command.
command - The Tcl command to execute.
Throws:
org.openware.loadsim.tcl.TclException - if there is an error adding the command.


Copyright © 2000, 2001 Openware, Spin Software. All Rights Reserved.