public class PipeThread extends Thread implements StopMonitor
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
PipeThread(String name,
NonBlockingInputStream in,
OutputStream out,
NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
NonBlockingInputStream |
getIn() |
OutputStream |
getOut() |
boolean |
isStopped() |
void |
requestStop() |
void |
run() |
boolean |
shouldStop() |
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 PipeThread(String name, NonBlockingInputStream in, OutputStream out, NutsSession session)
public boolean shouldStop()
shouldStop in interface StopMonitorpublic void requestStop()
public boolean isStopped()
public NonBlockingInputStream getIn()
public OutputStream getOut()
Copyright © 2021 vpc open source initiative. All rights reserved.