weka.experiment

## Interface Compute

- All Superinterfaces:
    java.rmi.Remote
  All Known Implementing Classes:
    RemoteEngine

      public interface Compute
      extends java.rmi.Remote

  Interface to something that can accept remote connections and execute a task.
  Version:
    $Revision: 8034 $
  Author:
    Mark Hall (mhall@cs.waikato.ac.nz)

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `checkStatus(java.lang.Object taskId)` Check on the status of a `Task`
    `java.lang.Object` | `executeTask(Task t)` Execute a task

- - ### Method Detail

    - #### executeTask

          java.lang.Object executeTask(Task t)
                                throws java.rmi.RemoteException

      Execute a task
      Parameters:
        `t` - Task to be executed
      Returns:
        a unique ID for the task
      Throws:
        `java.rmi.RemoteException` - if something goes wrong.

    - #### checkStatus

          java.lang.Object checkStatus(java.lang.Object taskId)
                                throws java.lang.Exception

      Check on the status of a `Task`
      Parameters:
        `taskId` - the ID for the Task to be checked
      Returns:
        the status of the Task
      Throws:
        `java.lang.Exception` - if an error occurs