Package | com.adobe.gravity.utility.flex.async |
Class | public class AsyncTokenWrapper |
Inheritance | AsyncTokenWrapper Object |
Implements | IToken |
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtime Versions: | AIR 1.1, Flash Player 9 |
Public Properties
Public Methods
Method | Defined By | ||
---|---|---|---|
Constructor. | AsyncTokenWrapper | ||
Add a handler to be called if the operation fails. | AsyncTokenWrapper | ||
Add a handler to be called if the operation succeeds. | AsyncTokenWrapper | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Remove a fault handler. | AsyncTokenWrapper | ||
Remove a success handler. | AsyncTokenWrapper | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Constructor Detail
AsyncTokenWrapper | () | Constructor |
public function AsyncTokenWrapper(asyncToken:mx.rpc:AsyncToken, resultObject:Object = null)
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtime Versions: | AIR 1.1, Flash Player 9 |
Constructor.
ParametersasyncToken:mx.rpc:AsyncToken — The AsyncToken to adapt into an IToken.
| |
resultObject:Object (default = null ) — The result object to return to the IToken success handler, overriding the default result object typically retrieved from the ResultEvent.
|
Method Detail
addFaultHandler | () | method |
public function addFaultHandler(handler:Function, weakReference:Boolean = false):void
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtime Versions: | AIR 1.1, Flash Player 9 |
Add a handler to be called if the operation fails.
Parameters
handler:Function — A function to be called if the operation fails.
| |
weakReference:Boolean (default = false ) — Use a weak reference to hold onto the handler.
|
addSuccessHandler | () | method |
public function addSuccessHandler(handler:Function, weakReference:Boolean = false):void
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtime Versions: | AIR 1.1, Flash Player 9 |
Add a handler to be called if the operation succeeds.
Parameters
handler:Function — A function to be called if the operation succeeds.
| |
weakReference:Boolean (default = false ) — Use a weak reference to hold onto the handler.
|
removeFaultHandler | () | method |
public function removeFaultHandler(handler:Function):void
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtime Versions: | AIR 1.1, Flash Player 9 |
Remove a fault handler.
Parameters
handler:Function — The handler to be removed.
|
removeSuccessHandler | () | method |
public function removeSuccessHandler(handler:Function):void
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtime Versions: | AIR 1.1, Flash Player 9 |
Remove a success handler.
Parameters
handler:Function — The handler to remove.
|
Thu Dec 6 2018, 01:12 PM -08:00