Package paulscode.sound
Class CommandThread
java.lang.Object
java.lang.Thread
paulscode.sound.SimpleThread
paulscode.sound.CommandThread
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected SoundSystemLoggerprivate SoundSystemFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcleanup()protected booleanerrorCheck(boolean bool, String string) protected voiderrorMessage(String string, int int2) protected voidimportantMessage(String string, int int2) protected voidvoidrun()Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
logger
-
soundSystem
-
className
-
-
Constructor Details
-
CommandThread
-
-
Method Details
-
cleanup
protected void cleanup()- Overrides:
cleanupin classSimpleThread
-
run
public void run()- Specified by:
runin interfaceRunnable- Overrides:
runin classSimpleThread
-
message
-
importantMessage
-
errorCheck
-
errorMessage
-