public class StreamThread extends SimpleThread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
StreamThread()
Constructor: Grabs a handle to the message logger and instantiates the
streaming sources list.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup()
Removes all references to instantiated objects, and changes the thread's
state to "not alive".
|
void |
run()
The main loop for processing commands.
|
void |
watch(Source source)
Adds a new streaming source to the list.
|
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, yieldpublic StreamThread()
protected void cleanup()
cleanup in class SimpleThreadpublic void run()
run in interface Runnablerun in class SimpleThreadpublic void watch(Source source)
source - New source to stream.Copyright © 2017. All rights reserved.