|
||||||||||
| 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. |
java.io.InputStream |
getErrorStream()
Return an InputStream representing the error stream of the shell. |
java.io.OutputStream |
getInputStream()
Returns the output stream used to feed the shell. |
java.io.InputStream |
getOutputStream()
Return an InputStream representing the output stream of the shell. |
boolean |
isAlive()
Check if the underlying shell is still alive |
void |
start(java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.String> env)
throws java.io.IOException
InvertedShell
start in interface InvertedShelljava.io.IOExceptionpublic java.io.OutputStream getInputStream()
InvertedShell
getInputStream in interface InvertedShellpublic java.io.InputStream getOutputStream()
InvertedShell
getOutputStream in interface InvertedShellpublic java.io.InputStream getErrorStream()
InvertedShell
getErrorStream in interface InvertedShellpublic boolean isAlive()
InvertedShell
isAlive in interface InvertedShellpublic int exitValue()
InvertedShell
exitValue in interface InvertedShellpublic void destroy()
InvertedShell
destroy in interface InvertedShell
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||