private class Pipe.Receiver extends Pipe.Worker
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private InputStream |
input |
private int |
type |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
Receiver(InputStream input,
int type,
String name) |
Modifier and Type | Method and Description |
---|---|
private void |
deliverMessage(String message) |
protected void |
doWork() |
protected void |
stopWorking() |
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 InputStream input
private final int type
public Receiver(InputStream input, int type, String name)
protected void doWork()
doWork
in class Pipe.Worker
private void deliverMessage(String message)
protected void stopWorking() throws IOException
stopWorking
in class Pipe.Worker
IOException