Interface RemoteProcessExecutor

All Superinterfaces:
Remote
All Known Implementing Classes:
ProcessExecutorServer

public interface RemoteProcessExecutor extends Remote
Remote interface to execute processes over RMI.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Synchronously executes the process as specified in the passed context.
    void
    Shutdown the remote process executor.
  • Method Details

    • execute

      int execute(RemoteProcessContext context) throws IOException
      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

      void quit() throws IOException
      Shutdown the remote process executor.
      Throws:
      IOException - on any error (e.g. communication failed).