|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
weka.experiment.RemoteEngine
public class RemoteEngine
A general purpose server for executing Task objects sent via RMI.
| Constructor Summary | |
|---|---|
RemoteEngine(String hostName)
Constructor |
|
| Method Summary | |
|---|---|
Object |
checkStatus(Object taskId)
Returns status information on a particular task |
Object |
executeTask(Task t)
Takes a task object and queues it for execution |
String |
getRevision()
Returns the revision string. |
static void |
main(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(String hostName)
throws RemoteException
hostName - name of the host
RemoteException - if something goes wrong| Method Detail |
|---|
public Object executeTask(Task t)
throws RemoteException
executeTask in interface Computet - the Task object to execute
RemoteException - if something goes wrong.
public Object checkStatus(Object taskId)
throws Exception
checkStatus in interface ComputetaskId - the ID of the task to check
TaskStatusInfo encapsulating task status info
Exception - if an error occurspublic String getRevision()
getRevision in interface RevisionHandlerpublic static void main(String[] args)
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||