程序包 weka.experiment

类 RemoteEngine

所有已实现的接口:
Serializable, Remote, RevisionHandler, Compute

public class RemoteEngine extends UnicastRemoteObject implements Compute, RevisionHandler
A general purpose server for executing Task objects sent via RMI.
版本:
$Revision: 1.12 $
作者:
Mark Hall (mhall@cs.waikato.ac.nz)
另请参阅:
  • 构造器详细资料

  • 方法详细资料

    • executeTask

      public Object executeTask(Task t) throws RemoteException
      Takes a task object and queues it for execution
      指定者:
      executeTask 在接口中 Compute
      参数:
      t - the Task object to execute
      返回:
      an identifier for the Task that can be used when querying Task status
      抛出:
      RemoteException - if something goes wrong.
    • checkStatus

      public Object checkStatus(Object taskId) throws Exception
      Returns status information on a particular task
      指定者:
      checkStatus 在接口中 Compute
      参数:
      taskId - the ID of the task to check
      返回:
      a TaskStatusInfo encapsulating task status info
      抛出:
      Exception - if an error occurs
    • getRevision

      public String getRevision()
      Returns the revision string.
      指定者:
      getRevision 在接口中 RevisionHandler
      返回:
      the revision
    • main

      public static void main(String[] args)
      Main method. Gets address of the local host, creates a remote engine object and binds it in the RMI registry. If there is no RMI registry, then it tries to create one with default port 1099.
      参数:
      args -