|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface must be implemented by classes that perform the server portion of a task and are intended to be run in the server's JVM. When the server activates the TWGTask associated with this TWGTaskServer, a new thread is created using this object. Since this interface extends Runnable, a public void run() method must also be implemented.
Method Summary | |
---|---|
boolean |
serverActivate(TWGTask task)
This method is called first so that the server task can perform any initialization prior to run() getting called. |
void |
serverDeactivate()
This method is called when the server needs to deactivate this server task. |
int |
subtaskActivate(TWGTaskActivation act)
This method is called when a subtask activation has been received from the console for this task. |
void |
subtaskDeactivate(TWGTaskActivation act)
This method is called when a subtask deactivation has been received from the console for this task. |
Methods inherited from interface java.lang.Runnable |
---|
run |
Method Detail |
public boolean serverActivate(TWGTask task)
public void serverDeactivate()
public int subtaskActivate(TWGTaskActivation act)
act
- the TWGTaskActivation object for the subtask being activated.
public void subtaskDeactivate(TWGTaskActivation act)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |