public class SshProcessWithPty extends ProcessWithPty
Session as ProcessWithPty.| Constructor and Description |
|---|
SshProcessWithPty(com.trilead.ssh2.Session ssh) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
int |
exitValue() |
InputStream |
getErrorStream() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
boolean |
isAlive() |
void |
kill(int signal) |
void |
setWindowSize(int width,
int height) |
int |
waitFor() |
public void setWindowSize(int width,
int height)
throws IOException
setWindowSize in class ProcessWithPtyIOExceptionpublic OutputStream getOutputStream()
getOutputStream in class Processpublic InputStream getErrorStream()
getErrorStream in class Processpublic InputStream getInputStream()
getInputStream in class Processpublic void kill(int signal)
throws IOException
kill in class ProcessWithPtyIOExceptionpublic boolean isAlive()
isAlive in class ProcessWithPtypublic int waitFor()
throws InterruptedException
waitFor in class ProcessInterruptedExceptionCopyright © 2014. All rights reserved.