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()
Is this process still alive?
|
void |
kill(int signal) |
void |
setWindowSize(int width,
int height) |
int |
waitFor() |
public void setWindowSize(int width, int height) throws IOException
setWindowSize
in class ProcessWithPty
IOException
public OutputStream getOutputStream()
getOutputStream
in class Process
public InputStream getErrorStream()
getErrorStream
in class Process
public InputStream getInputStream()
getInputStream
in class Process
public void kill(int signal) throws IOException
kill
in class ProcessWithPty
IOException
public boolean isAlive()
ProcessWithPty
isAlive
in class ProcessWithPty
public int waitFor() throws InterruptedException
waitFor
in class Process
InterruptedException
Copyright © 2015. All rights reserved.