程序包 weka.experiment
类 RemoteEngine
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
weka.experiment.RemoteEngine
- 所有已实现的接口:
Serializable
,Remote
,RevisionHandler
,Compute
A general purpose server for executing Task objects sent via RMI.
- 版本:
- $Revision: 1.12 $
- 作者:
- Mark Hall (mhall@cs.waikato.ac.nz)
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明checkStatus
(Object taskId) Returns status information on a particular taskexecuteTask
(Task t) Takes a task object and queues it for executionReturns the revision string.static void
Main method.从类继承的方法 java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
从类继承的方法 java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
构造器详细资料
-
RemoteEngine
Constructor- 参数:
hostName
- name of the host- 抛出:
RemoteException
- if something goes wrong
-
-
方法详细资料
-
executeTask
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
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
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-
main
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
-
-