|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is used as the callback mechanism when TWGRemoteTaskManager is used to remotely activate a task on the server.
Method Summary | |
---|---|
void |
taskActivationComplete(long rc,
long localID,
long remoteID,
java.lang.String taskID,
long toid,
java.lang.String subtaskID,
LongValueSet moid,
LongValueSet foid)
This method is called when the TaskActivationCommand results are received from the engine. |
void |
taskActivationEnded(int rc,
long localID)
This method is called when an asynchronous notification has been received from the engine indicating that a subtask activation has ended. |
Method Detail |
public void taskActivationComplete(long rc, long localID, long remoteID, java.lang.String taskID, long toid, java.lang.String subtaskID, LongValueSet moid, LongValueSet foid)
rc
- result code (see TWGTaskConstants.RETURN_* for valueslocalID
- the id passed into the TWGRemoteTaskManager.subtaskActivate()
callremoteID
- the activation ID assigned by the server. This is the
ID that you must use for subtaskDeactivate()taskID
- the string task ID of the task. This will be null if
the subtaskActivate() call was made passing the toid
instead of the taskIDtoid
- the object ID of the task that was activatedsubtaskID
- the string subtaskID of the subtask that was activatedmoid
- the moid passed on the subtaskActivate() callfoid
- the foid passed on the subtaskActivate() callpublic void taskActivationEnded(int rc, long localID)
rc
- reason the activation ended (see TWGTaskConstants.ACT_STATUS_*)localID
- the id passed into the TWGRemoteTaskManager.subtaskActivate()
call
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |