|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jason.core.pool.AbstractTask
Created Sat Apr 20 20:11:18 2002
Simple Task
SocketService
,
TaskContext
,
Task
Constructor Summary | |
AbstractTask()
|
Method Summary | |
TaskContext |
getTaskContext()
|
void |
init(TaskContext tc)
This method provides a TaskContect object type
for particular needs like to know the original ServiceContext |
protected abstract void |
run()
This method must be override, it will contains the final user code that must be runned in the ThreadCapsule |
void |
runTask()
Run the task |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractTask()
Method Detail |
public void init(TaskContext tc)
Task
TaskContect
object type
for particular needs like to know the original ServiceContext
init
in interface Task
public void runTask()
Task
runTask
in interface Task
protected abstract void run()
public TaskContext getTaskContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |