![]() | ![]() |


ExecuteAsyncMethodTask object is initialized with the static methods create() and createBasic() which expect the following parameters: EventDescriptor object or event name, which specifies the event that should be raised in order to fire event completed for this ExecuteAsyncMethodTask
Definition at line 25 of file ExecuteAsyncMethodTask.as.
Public Member Functions | |
| function get | MethodArguments () |
| function set | MethodArguments (aValue:Array) |
| function get | InteruptionMethodArguments () |
| function set | InteruptionMethodArguments (aValue:Array) |
| function | start () |
| function | isRunning () |
| function | isImmediatelyInterruptable () |
| function | interrupt () |
Static Public Member Functions | |
| static function | create (aCompletionEventInfo:EventDescriptor, aMethodScope:Object, aMethodFunction:Function, aMethodArguments:Array) |
| static function | createInteruptable (aCompletionEventInfo:EventDescriptor, aMethodScope:Object, aMethodFunction:Function, aMethodArguments:Array, aInteruptionMethodScope:Object, aInteruptionMethodFunction:Function, aInteruptionMethodArguments:Array) |
| static function | createBasic (aCompletionEventName:String, aMethodScope:IEventDispatcher, aMethodFunction:Function, aMethodArguments:Array) |
| static function | createBasicInteruptable (aCompletionEventName:String, aMethodScope:IEventDispatcher, aMethodFunction:Function, aMethodArguments:Array, aInteruptionMethodScope:Object, aInteruptionMethodFunction:Function, aInteruptionMethodArguments:Array) |
Private Member Functions | |
| function | ExecuteAsyncMethodTask (aCompletionEventInfo:EventDescriptor, aMethodScope:Object, aMethodFunction:Function, aMethodArguments:Array, aInteruptionMethodScope:Object, aInteruptionMethodFunction:Function, aInteruptionMethodArguments:Array) |
| function | onMethodCompleted (ev) |
Private Attributes | |
| var | mIsRunning:Boolean |
| var | mCompletionEventInfo: EventDescriptor |
| var | mMethodScope:Object |
| var | mMethodFunction:Function |
| var | mInteruptionMethodScope:Object |
| var | mInteruptionMethodFunction:Function |
| var | mMethodArguments: Array |
| var | mInteruptionMethodArguments: Array |
| function gugga.sequence.ExecuteAsyncMethodTask.ExecuteAsyncMethodTask | ( | aCompletionEventInfo:EventDescriptor | , | |
| aMethodScope:Object | , | |||
| aMethodFunction:Function | , | |||
| aMethodArguments:Array | , | |||
| aInteruptionMethodScope:Object | , | |||
| aInteruptionMethodFunction:Function | , | |||
| aInteruptionMethodArguments:Array | ||||
| ) | [private] |
Definition at line 45 of file ExecuteAsyncMethodTask.as.
| function get gugga.sequence.ExecuteAsyncMethodTask.MethodArguments | ( | ) |
Definition at line 38 of file ExecuteAsyncMethodTask.as.
| function set gugga.sequence.ExecuteAsyncMethodTask.MethodArguments | ( | aValue:Array | ) |
Definition at line 39 of file ExecuteAsyncMethodTask.as.
| function get gugga.sequence.ExecuteAsyncMethodTask.InteruptionMethodArguments | ( | ) |
Definition at line 42 of file ExecuteAsyncMethodTask.as.
| function set gugga.sequence.ExecuteAsyncMethodTask.InteruptionMethodArguments | ( | aValue:Array | ) |
Definition at line 43 of file ExecuteAsyncMethodTask.as.
| function gugga.sequence.ExecuteAsyncMethodTask.start | ( | ) |
Modified in order to handle case when method dispatch the event synchronic with method's call.
Definition at line 66 of file ExecuteAsyncMethodTask.as.
References gugga.events.EventDispatcher.dispatchEvent().
Here is the call graph for this function:

| function gugga.sequence.ExecuteAsyncMethodTask.isRunning | ( | ) |
Definition at line 81 of file ExecuteAsyncMethodTask.as.
| function gugga.sequence.ExecuteAsyncMethodTask.isImmediatelyInterruptable | ( | ) |
Definition at line 86 of file ExecuteAsyncMethodTask.as.
| function gugga.sequence.ExecuteAsyncMethodTask.interrupt | ( | ) |
OLD: On interrupt() ExecuteAsyncMethodTask will not fire immediately interrupted event. This event will be raised instead of the completed event, and completed event won't be raised at all. CURRENT: Will interrupt immediately.
Definition at line 98 of file ExecuteAsyncMethodTask.as.
References gugga.events.EventDispatcher.dispatchEvent().
Here is the call graph for this function:

| function gugga.sequence.ExecuteAsyncMethodTask.onMethodCompleted | ( | ev | ) | [private] |
Definition at line 105 of file ExecuteAsyncMethodTask.as.
References gugga.events.EventDispatcher.dispatchEventLater().
Here is the call graph for this function:

| static function gugga.sequence.ExecuteAsyncMethodTask.create | ( | aCompletionEventInfo:EventDescriptor | , | |
| aMethodScope:Object | , | |||
| aMethodFunction:Function | , | |||
| aMethodArguments:Array | ||||
| ) | [static] |
Definition at line 114 of file ExecuteAsyncMethodTask.as.
| static function gugga.sequence.ExecuteAsyncMethodTask.createInteruptable | ( | aCompletionEventInfo:EventDescriptor | , | |
| aMethodScope:Object | , | |||
| aMethodFunction:Function | , | |||
| aMethodArguments:Array | , | |||
| aInteruptionMethodScope:Object | , | |||
| aInteruptionMethodFunction:Function | , | |||
| aInteruptionMethodArguments:Array | ||||
| ) | [static] |
Definition at line 129 of file ExecuteAsyncMethodTask.as.
| static function gugga.sequence.ExecuteAsyncMethodTask.createBasic | ( | aCompletionEventName:String | , | |
| aMethodScope:IEventDispatcher | , | |||
| aMethodFunction:Function | , | |||
| aMethodArguments:Array | ||||
| ) | [static] |
Definition at line 150 of file ExecuteAsyncMethodTask.as.
| static function gugga.sequence.ExecuteAsyncMethodTask.createBasicInteruptable | ( | aCompletionEventName:String | , | |
| aMethodScope:IEventDispatcher | , | |||
| aMethodFunction:Function | , | |||
| aMethodArguments:Array | , | |||
| aInteruptionMethodScope:Object | , | |||
| aInteruptionMethodFunction:Function | , | |||
| aInteruptionMethodArguments:Array | ||||
| ) | [static] |
Definition at line 168 of file ExecuteAsyncMethodTask.as.
var gugga.sequence.ExecuteAsyncMethodTask.mIsRunning [private] |
Definition at line 29 of file ExecuteAsyncMethodTask.as.
Definition at line 31 of file ExecuteAsyncMethodTask.as.
var gugga.sequence.ExecuteAsyncMethodTask.mMethodScope [private] |
Definition at line 32 of file ExecuteAsyncMethodTask.as.
var gugga.sequence.ExecuteAsyncMethodTask.mMethodFunction [private] |
Definition at line 33 of file ExecuteAsyncMethodTask.as.
Definition at line 34 of file ExecuteAsyncMethodTask.as.
Definition at line 35 of file ExecuteAsyncMethodTask.as.
var gugga.sequence.ExecuteAsyncMethodTask.mMethodArguments [private] |
Definition at line 37 of file ExecuteAsyncMethodTask.as.
Definition at line 41 of file ExecuteAsyncMethodTask.as.
1.5.2