|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICompute
A generalized compute engine object that will execute a given ITask object and return the result
Field Summary | |
---|---|
static java.lang.String |
BOUND_NAME
The name the ICompute object will be bound to in the RMI Registry |
static int |
BOUND_PORT
The port that the client will use to communicate with the ICompute object Note that this port must be opened of inbound traffic on the server machine |
Method Summary | ||
---|---|---|
|
executeTask(ITask<T> t)
Execute the given ITask object and return the result |
|
IRemoteTaskViewAdapter |
setTextAdapter(IRemoteTaskViewAdapter clientTVA)
Sets this object's IRemoteTaskViewAdapter so that it can print strings out on the correct target. |
Field Detail |
---|
static final java.lang.String BOUND_NAME
static final int BOUND_PORT
Method Detail |
---|
<T> T executeTask(ITask<T> t) throws java.rmi.RemoteException
T
- The type of the return value from executing the given ITask objectt
- The ITask object to execute
java.rmi.RemoteException
IRemoteTaskViewAdapter setTextAdapter(IRemoteTaskViewAdapter clientTVA) throws java.rmi.RemoteException
clientTVA
- the task view adapter to for the server to use.
java.rmi.RemoteException
- thrown if a network error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |