|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sshd.server.shell.ProcessShellFactory.ProcessShell
public class ProcessShellFactory.ProcessShell
Nested Class Summary | |
---|---|
protected class |
ProcessShellFactory.ProcessShell.TtyFilterInputStream
|
protected class |
ProcessShellFactory.ProcessShell.TtyFilterOutputStream
|
Constructor Summary | |
---|---|
ProcessShellFactory.ProcessShell()
|
Method Summary | |
---|---|
void |
destroy()
Destroy the shell. |
int |
exitValue()
Retrieve the exit value of the shell. |
InputStream |
getErrorStream()
Return an InputStream representing the error stream of the shell. |
OutputStream |
getInputStream()
Returns the output stream used to feed the shell. |
InputStream |
getOutputStream()
Return an InputStream representing the output stream of the shell. |
boolean |
isAlive()
Check if the underlying shell is still alive |
void |
start(Map<String,String> env)
Starts the shell and will make the streams available for the ssh server to retrieve and use. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcessShellFactory.ProcessShell()
Method Detail |
---|
public void start(Map<String,String> env) throws IOException
InvertedShell
start
in interface InvertedShell
IOException
public OutputStream getInputStream()
InvertedShell
getInputStream
in interface InvertedShell
public InputStream getOutputStream()
InvertedShell
getOutputStream
in interface InvertedShell
public InputStream getErrorStream()
InvertedShell
getErrorStream
in interface InvertedShell
public boolean isAlive()
InvertedShell
isAlive
in interface InvertedShell
public int exitValue()
InvertedShell
exitValue
in interface InvertedShell
public void destroy()
InvertedShell
destroy
in interface InvertedShell
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |