|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openware.loadsim.tcl.Scheduler
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 |
public Scheduler()
Method Detail |
public void run()
run
in interface java.lang.Runnable
public void start()
public void stop()
public void addRelativeCommand(tcl.lang.Interp interp, java.lang.String time, java.lang.String command) throws tcl.lang.TclException
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.org.openware.loadsim.tcl.TclException
- if there is an error adding the command.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |