public interface AsyncCommand extends Command
Modifier and Type | Method and Description |
---|---|
void |
setIoErrorStream(IoOutputStream err)
Set the error stream that can be used by the shell to write its errors.
|
void |
setIoInputStream(IoInputStream in)
Set the input stream that can be used by the shell to read input.
|
void |
setIoOutputStream(IoOutputStream out)
Set the output stream that can be used by the shell to write its output.
|
setErrorStream, setExitCallback, setInputStream, setOutputStream
destroy, start
void setIoInputStream(IoInputStream in)
in
- The IoInputStream
used by the shell to read inputvoid setIoOutputStream(IoOutputStream out)
out
- The IoOutputStream
used by the shell to write its outputvoid setIoErrorStream(IoOutputStream err)
err
- The IoOutputStream
used by the shell to write its errorsCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.