jason.core.pool
Interface Task

All Known Implementing Classes:
AbstractTask

public interface Task

Any work encapsulated in a ThreadCapsule must implement this interface.

Since:
1.0
Author:
"alexandre brillant"

Method Summary
 void init(TaskContext tc)
          This method provides a TaskContect object type for particular needs like to know the original ServiceContext
 void runTask()
          Run the task
 

Method Detail

init

public void init(TaskContext tc)
This method provides a TaskContect object type for particular needs like to know the original ServiceContext


runTask

public void runTask()
Run the task