public interface Compute
extends java.rmi.Remote
| 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
|
java.lang.Object executeTask(Task t) throws java.rmi.RemoteException
t - Task to be executedjava.rmi.RemoteException - if something goes wrong.java.lang.Object checkStatus(java.lang.Object taskId)
throws java.lang.Exception
TasktaskId - the ID for the Task to be checkedjava.lang.Exception - if an error occurs