Process from java. This
interface is meant to be used with InvertedShellWrapper class as an implementation of
org.apache.sshd.common.Factory .
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public InputStream | |
| public OutputStream | Returns: TheOutputStream used to feed the shellReturns the output stream used to feed the shell. |
| public InputStream | |
| public default ServerSession | |
| public boolean |
| exitValue | back to summary |
|---|---|
| public int exitValue() Retrieve the exit value of the shell. This method must only be called when the shell is not alive anymore.
| |
| getErrorStream | back to summary |
|---|---|
public InputStream getErrorStream()
| |
| getInputStream | back to summary |
|---|---|
| public OutputStream getInputStream() Returns the output stream used to feed the shell. This method is called after the shell has been started.
| |
| getOutputStream | back to summary |
|---|---|
public InputStream getOutputStream()
| |
| getSession | back to summary |
|---|---|
| public default ServerSession getSession() Implements org.
| |
| isAlive | back to summary |
|---|---|
| public boolean isAlive() Check if the underlying shell is still alive
| |