private class Pipe.Sender extends Pipe.Worker
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
private OutputStream |
output |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
Sender(OutputStream output,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doWork() |
protected void |
stopWorking() |
runactiveCount, 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, yieldprivate final OutputStream output
public Sender(OutputStream output, String name)
protected void doWork()
doWork in class Pipe.Workerprotected void stopWorking()
throws IOException
stopWorking in class Pipe.WorkerIOException