public class RemotableProcess extends org.kohsuke.ajaxterm.ProcessWithPty implements Serializable
IProcess implementation that acts accordingly when remoted via Channel
When not remoted, this object simply acts as a delegation to another Process object
(hence extending DelegatingProcess.)
| Modifier and Type | Field and Description |
|---|---|
protected org.kohsuke.ajaxterm.ProcessWithPty |
delegate |
| Constructor and Description |
|---|
RemotableProcess(org.kohsuke.ajaxterm.ProcessWithPty delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
int |
exitValue() |
InputStream |
getErrorStream() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
void |
kill(int signal) |
void |
setWindowSize(int x,
int y) |
int |
waitFor() |
public RemotableProcess(org.kohsuke.ajaxterm.ProcessWithPty delegate)
public OutputStream getOutputStream()
getOutputStream in interface IProcessgetOutputStream in class Processpublic InputStream getInputStream()
getInputStream in interface IProcessgetInputStream in class Processpublic InputStream getErrorStream()
getErrorStream in interface IProcessgetErrorStream in class Processpublic int waitFor()
throws InterruptedException
waitFor in interface IProcesswaitFor in class ProcessInterruptedExceptionpublic int exitValue()
public void destroy()
public void setWindowSize(int x,
int y)
throws IOException
setWindowSize in interface IProcesssetWindowSize in class org.kohsuke.ajaxterm.ProcessWithPtyIOExceptionpublic void kill(int signal)
throws IOException
kill in interface IProcesskill in class org.kohsuke.ajaxterm.ProcessWithPtyIOExceptionCopyright © 2004-2013. All Rights Reserved.