private class LoopingSequencer.Conditioner extends Thread implements AlarmHandler
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
private ReplyEvent |
reply
The reply received.
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier | Constructor and Description |
|---|---|
private |
Conditioner(ReplyEvent rep)
Constructs and starts a new conditioner processing the argument reply
event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
The run method of the conditioner.
|
void |
setOff(String varname)
This method is called if a delayed condition is met.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldprivate final ReplyEvent reply
private Conditioner(ReplyEvent rep)
public void setOff(String varname)
LoopingSequencer.forward(stella.ReplyEvent)
receiving end an Alarm is spawned with the specified delay
time (ms). If the alarm ran out the alarm threads name is used to set
the matching boolean variable to true.setOff in interface AlarmHandlerThe - name of the alarm thread equal the variable namepublic void run()