Interface TaskServer
- public interface TaskServer
|
Method Summary |
boolean |
putTask(TaskHeader taskHeader,
NodeInfo source)
This method is called by the consumer the very first time it wants to submit a task to the CX environment. |
void |
registerTask(java.lang.String className,
java.lang.String rmiSource)
Before submitting the task, you should call this method in order for the CX environment to get the class definition of the task to be submitted. |
putTask
public boolean putTask(TaskHeader taskHeader,
NodeInfo source)
- This method is called by the consumer the very first time it wants to submit a task to the CX environment. Before calling this method, you should have previously register the class.
- See Also:
registerTask(java.lang.String, java.lang.String)
registerTask
public void registerTask(java.lang.String className,
java.lang.String rmiSource)
- Before submitting the task, you should call this method in order for the CX environment to get the class definition of the task to be submitted.