private static class AddeThread.StreamReaderThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private InputStreamReader |
mIn
stdin
|
private StringBuilder |
mOut
stderr
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
StreamReaderThread(InputStream in,
StringBuilder out)
Create a thread for reading mcservl output.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
|
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
private final StringBuilder mOut
private final InputStreamReader mIn
public StreamReaderThread(InputStream in, StringBuilder out)
in
- Input "stream".out
- Output "stream".