|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Dispatcher
The interface for processing dispatching tasks.
Method Summary | |
---|---|
void |
addTask(DispatchingTask task)
adds a dispatching task to process. |
DispatchingTask[] |
getTasks()
|
void |
process()
to process the pending tasks. |
void |
processTask(DispatchingTask task)
to add the task and process all pending tasks. |
void |
terminate()
terminates the dispatcher. |
Method Detail |
---|
void addTask(DispatchingTask task)
task
- task to processDispatchingTask[] getTasks()
void process()
void processTask(DispatchingTask task)
addTask(DispatchingTask)
and process()
do together.
task
- void terminate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |