ASyncQueue
| Kind of class: | public class |
|---|---|
| Package: | com.bourre.commands |
| Inherits from: | ASyncBatch < AbstractSyncCommand < AbstractCommand |
| Author: | Cédric Néhémie |
| Classpath: | com.bourre.commands.ASyncQueue |
| File last modified: | Monday, 24 November 2008, 11:36:52 |
An asynchronous queue behave as the asynchronous batch, but use
the event dispatch by a sub-command to pass it in the execute method
of the next sub-command.
the event dispatch by a sub-command to pass it in the execute method
of the next sub-command.
The ASyncBatch class extends AbstractSyncCommandand so, dispatch an onCommandEnd event at the execution end
of all commands. The event dispatched with the onCommandEndevent is the one dispatched by the last sub-command.
Summary
Constructor
Instance methods
Instance methods inherited from ASyncBatch
Event handlers
- onCommandEnd (e:Event) : void
- Receives event of the last executed command and start the
Event handlers inherited from ASyncBatch
Constructor
ASyncQueue
public function ASyncQueue (
)
Creates a new asynchronous queue object.
Event handlers
onCommandEnd
override public function onCommandEnd (
e:Event) : void
Receives event of the last executed command and start the
next one with the event object received in this call.
next one with the event object received in this call.
Overrides: