|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.rmi.server.RemoteObject | +--java.rmi.server.RemoteServer | +--java.rmi.server.UnicastRemoteObject | +--weka.experiment.RemoteEngine
A general purpose server for executing Task objects sent via RMI.
Constructor Summary | |
RemoteEngine(java.lang.String hostName)
Constructor |
Method Summary | |
java.lang.Object |
checkStatus(java.lang.Object taskId)
Returns status information on a particular task |
java.lang.Object |
executeTask(Task t)
Takes a task object and queues it for execution |
static void |
main(java.lang.String[] args)
Main method. |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RemoteEngine(java.lang.String hostName) throws java.rmi.RemoteException
hostName
- name of the host
java.rmi.RemoteException
- if something goes wrongMethod Detail |
public java.lang.Object executeTask(Task t) throws java.rmi.RemoteException
executeTask
in interface Compute
t
- the Task object to execute
java.rmi.RemoteException
- if something goes wrong.public java.lang.Object checkStatus(java.lang.Object taskId) throws java.lang.Exception
checkStatus
in interface Compute
taskId
- the ID of the task to check
TaskStatusInfo
encapsulating task status info
java.lang.Exception
- if an error occurspublic static void main(java.lang.String[] args)
args
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London