Package | artcustomer.framework.process.tasks |
Class | public class TaskProcesor |
Inheritance | TaskProcesor flash.events.EventDispatcher |
Implements | IDestroyable |
Method | Defined By | ||
---|---|---|---|
Constructor
| TaskProcesor | ||
addTask(taskClass:Class):void
Add Task in stack. | TaskProcesor | ||
destroy():void
Destructor. | TaskProcesor | ||
dispose():void
Dispose procesor. | TaskProcesor | ||
getTaskAt(index:int):AbstractTask
Get Task at index. | TaskProcesor | ||
hasTaskAt(index:int):Boolean
Test stack at index. | TaskProcesor | ||
startProcesing():void
Start procesing. | TaskProcesor | ||
stopProcesing():void
Stop procesing. | TaskProcesor |
Event | Summary | Defined By | ||
---|---|---|---|---|
TaskProcesor | ||||
TaskProcesor | ||||
TaskProcesor | ||||
TaskProcesor |
TaskProcesor | () | Constructor |
public function TaskProcesor()
Constructor
addTask | () | method |
public function addTask(taskClass:Class):void
Add Task in stack.
Parameters
taskClass:Class — : Must extends AbstractTask !
|
destroy | () | method |
public function destroy():void
Destructor.
dispose | () | method |
public function dispose():void
Dispose procesor. Clear task's stack.
getTaskAt | () | method |
public function getTaskAt(index:int):AbstractTask
Get Task at index.
Parameters
index:int |
AbstractTask —
|
hasTaskAt | () | method |
public function hasTaskAt(index:int):Boolean
Test stack at index.
Parameters
index:int |
Boolean —
|
startProcesing | () | method |
public function startProcesing():void
Start procesing.
stopProcesing | () | method |
public function stopProcesing():void
Stop procesing.
onEndProcesing | Event |
artcustomer.framework.tasks.events.TaskProcesorEvent
onErrorProcesing | Event |
artcustomer.framework.tasks.events.TaskProcesorEvent
onProgressProcesing | Event |
artcustomer.framework.tasks.events.TaskProcesorEvent
onStartProcesing | Event |
artcustomer.framework.tasks.events.TaskProcesorEvent