|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
done.inpro.system.completion.TurnCompleter.CompletionPlayer.InstallmentPlayer
class TurnCompleter.CompletionPlayer.InstallmentPlayer
outputs a given system installment after the given holding time has passed
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
(package private) boolean |
aborted
|
(package private) double |
holdingTime
in seconds |
(package private) SysInstallmentIU |
output
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
TurnCompleter.CompletionPlayer.InstallmentPlayer(double holdingTime,
SysInstallmentIU output)
|
Method Summary | |
---|---|
void |
abort()
if this is called before run() completes, then no output will be sent to the speakers |
void |
run()
synthesize output and initiate playback after holdingTime has passed |
Methods inherited from class java.lang.Thread |
---|
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, yield |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
SysInstallmentIU output
double holdingTime
boolean aborted
Constructor Detail |
---|
public TurnCompleter.CompletionPlayer.InstallmentPlayer(double holdingTime, SysInstallmentIU output)
Method Detail |
---|
public void abort()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |