public class PipeRunnable extends Object implements Runnable, StopMonitor
| Constructor and Description |
|---|
PipeRunnable(String name,
String cmd,
String desc,
NonBlockingInputStream in,
OutputStream out,
boolean renameThread,
net.thevpc.nuts.NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCmd() |
String |
getDesc() |
NonBlockingInputStream |
getIn() |
OutputStream |
getOut() |
boolean |
incrementalCopy() |
boolean |
isStopped() |
void |
requestStop() |
void |
run() |
boolean |
runOnce() |
boolean |
shouldStop() |
public PipeRunnable(String name, String cmd, String desc, NonBlockingInputStream in, OutputStream out, boolean renameThread, net.thevpc.nuts.NutsSession session)
public String getCmd()
public String getDesc()
public boolean shouldStop()
shouldStop in interface StopMonitorpublic void requestStop()
public boolean incrementalCopy()
public boolean runOnce()
public boolean isStopped()
public NonBlockingInputStream getIn()
public OutputStream getOut()
Copyright © 2022 vpc open source initiative. All rights reserved.