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 IProcess
getOutputStream
in class Process
public InputStream getInputStream()
getInputStream
in interface IProcess
getInputStream
in class Process
public InputStream getErrorStream()
getErrorStream
in interface IProcess
getErrorStream
in class Process
public int waitFor() throws InterruptedException
waitFor
in interface IProcess
waitFor
in class Process
InterruptedException
public int exitValue()
public void destroy()
public void setWindowSize(int x, int y) throws IOException
setWindowSize
in interface IProcess
setWindowSize
in class org.kohsuke.ajaxterm.ProcessWithPty
IOException
public void kill(int signal) throws IOException
kill
in interface IProcess
kill
in class org.kohsuke.ajaxterm.ProcessWithPty
IOException
Copyright © 2004-2013. All Rights Reserved.