Interface RemoteProcessExecutor
- All Superinterfaces:
Remote
- All Known Implementing Classes:
ProcessExecutorServer
Remote interface to execute processes over RMI.
-
Method Summary
Modifier and TypeMethodDescriptionintexecute(RemoteProcessContext context) Synchronously executes the process as specified in the passed context.voidquit()Shutdown the remote process executor.
-
Method Details
-
execute
Synchronously executes the process as specified in the passed context.- Parameters:
context- the process description to execute.- Returns:
- the exit code of the process
- Throws:
IOException- on any error
-
quit
Shutdown the remote process executor.- Throws:
IOException- on any error (e.g. communication failed).
-