public interface IRemoteProcessControlService extends IRemoteProcess.Service
IRemoteProcess.Service.Factory
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Terminate the process
|
int |
exitValue()
Returns the exit value for the process
|
java.io.InputStream |
getErrorStream()
Gets the error output stream of the process
|
java.io.InputStream |
getInputStream()
Gets an InputStream which can be used to read the standard output stream of the process
|
java.io.OutputStream |
getOutputStream()
Gets an output stream which can be used to write to the standard input stream of the process
|
boolean |
isCompleted()
Check if the remote process has completed
|
int |
waitFor()
Wait until the process has terminated
|
getRemoteProcess
void destroy()
int exitValue()
java.io.InputStream getErrorStream()
java.io.InputStream getInputStream()
java.io.OutputStream getOutputStream()
int waitFor() throws java.lang.InterruptedException
java.lang.InterruptedException
- if the current thread is
interrupted by another thread while it is waitingboolean isCompleted()