Package paulscode.sound
Class StreamThread
java.lang.Object
java.lang.Thread
paulscode.sound.SimpleThread
paulscode.sound.StreamThread
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcleanup()private booleanerrorCheck(boolean bool, String string) private voiderrorMessage(String string) private voidimportantMessage(String string) private voidvoidrun()voidMethods 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
-
streamingSources
-
listLock
-
-
Constructor Details
-
StreamThread
public StreamThread()
-
-
Method Details
-
cleanup
protected void cleanup()- Overrides:
cleanupin classSimpleThread
-
run
public void run()- Specified by:
runin interfaceRunnable- Overrides:
runin classSimpleThread
-
watch
-
message
-
importantMessage
-
errorCheck
-
errorMessage
-