|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class is the interface used by ComputeEngine's to send the results of a job back to the ComputeProxy.
ComputeProxy
,
JCEPHandler
Field Summary | |
static java.lang.String |
LOOKUP_NAME
The name under which the ResultChannel will be registered. |
static int |
PORT
The port on which the registry housing the ResultChannel will be started. |
Method Summary | |
void |
sendException(java.lang.Exception e,
java.lang.String processId)
This method sends the execption resulting from a job to the ComputeProxy. |
void |
sendResult(java.io.Serializable result,
java.lang.String processId)
This method sends the results of a job to the ComputeProxy. |
Field Detail |
public static final int PORT
public static final java.lang.String LOOKUP_NAME
Method Detail |
public void sendResult(java.io.Serializable result, java.lang.String processId) throws java.rmi.RemoteException
result
- the results objectprocessId
- the id of the job
java.rmi.RemoteException
- if an error occurs on the serverpublic void sendException(java.lang.Exception e, java.lang.String processId) throws java.rmi.RemoteException
e
- the exceptionprocessId
- the id of the job
java.rmi.RemoteException
- if an error occurs on the server side
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |