public interface Command
InvertedShellWrapper.| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the shell.
|
void |
setErrorStream(java.io.OutputStream err)
Set the error stream that can be used by the shell to write its errors.
|
void |
setExitCallback(ExitCallback callback)
Set the callback that the shell has to call when it is closed.
|
void |
setInputStream(java.io.InputStream in)
Set the input stream that can be used by the shell to read input.
|
void |
setOutputStream(java.io.OutputStream out)
Set the output stream that can be used by the shell to write its output.
|
void |
start(Environment env)
Starts the shell.
|
void setInputStream(java.io.InputStream in)
in - void setOutputStream(java.io.OutputStream out)
out - void setErrorStream(java.io.OutputStream err)
err - void setExitCallback(ExitCallback callback)
callback - void start(Environment env) throws java.io.IOException
Thread(this).start();
env - java.io.IOExceptionvoid destroy()
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.