| Package | com.bourre.commands |
| Class | public class ASyncQueue |
| Inheritance | ASyncQueue ASyncBatch AbstractSyncCommand AbstractCommand |
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
The ASyncBatch class extends AbstractSyncCommand
and so, dispatch an onCommandEnd event at the execution end
of all commands. The event dispatched with the onCommandEnd
event is the one dispatched by the last sub-command.
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new asynchronous queue object.
| ASyncQueue | ||
![]() |
addASyncCommandListener(listener:ASyncCommandListener, ... rest):Boolean
Adds the passed-in listener as listener for the
onCommandEnd
event of this command. | AbstractSyncCommand | |
![]() |
addCommand(command:Command):Boolean
Adds the passed-in command to this macro command.
| ASyncBatch | |
![]() |
execute(e:Event = null):void
Starts the execution of the batch.
| ASyncBatch | |
![]() |
fireCommandEndEvent():void
Fires the
onCommandEnd event to the listeners
of this command. | AbstractSyncCommand | |
![]() |
Returns the exclusive logger object owned by the plugin.
| AbstractCommand | |
![]() |
getModel(key:String):AbstractModel
Returns a reference to the model
AbstractModel. | AbstractCommand | |
![]() |
Returns a reference to the owner of this command.
| AbstractCommand | |
![]() |
getView(key:String):AbstractView
Returns a reference to the view
AbstractView. | AbstractCommand | |
![]() |
isModelRegistered(key:String):Boolean
Check if a model
AbstractModel is registered
with passed key in owner's ModelLocator. | AbstractCommand | |
![]() |
isRunning():Boolean
Returns
true if this command is currently
processing. | AbstractSyncCommand | |
![]() |
isViewRegistered(key:String):Boolean
Check if a view
AbstractView is registered
with passed key in owner's ViewLocator. | AbstractCommand | |
|
onCommandEnd(e:Event):void
Receives event of the last executed command and start the
next one with the event object received in this call.
| ASyncQueue | ||
![]() |
removeASyncCommandListener(listener:ASyncCommandListener):Boolean
Removes the passed-in listener for listening
the
onCommandEnd event of this command. | AbstractSyncCommand | |
![]() |
removeCommand(command:Command):Boolean
Removes the passed-in command from this macro command.
| ASyncBatch | |
![]() |
run():void
Implementation of the
Runnable interface,
a call to run() is equivalent to a call to
execute without argument. | AbstractSyncCommand | |
![]() |
Defines the plugin owner of this command.
| ASyncBatch | |
![]() |
toString():String
Returns the string representation of the object.
| AbstractSyncCommand | |
| ASyncQueue | () | constructor |
public function ASyncQueue()
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Creates a new asynchronous queue object.
| onCommandEnd | () | method |
public override function onCommandEnd(e:Event):void
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Receives event of the last executed command and start the next one with the event object received in this call.
Parameterse:Event |