Pakket | com.adobe.gravity.utility.async |
Klasse | public class Token |
Overerving | Token Object |
Implementatie | IToken |
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtimeversies: | AIR 1.1, Flash Player 9 |
Success handlers take an arbitrary number of parameters. The number and type of the parameters depend on the API that returns the token; the API documentation will generally indicate what to expect. Fault handlers must take a single parameter of type Error.
Methode | Gedefinieerd door | ||
---|---|---|---|
Token()
Constructor. | Token | ||
Add a handler to be called if the operation fails. | Token | ||
Add a handler to be called if the operation succeeds. | Token | ||
Call all the fault handlers with the provided error object. | Token | ||
Call all the fault handlers with an Error created from the provided ErrorEvent object. | Token | ||
Call all the success handlers with the provided parameters. | Token | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Remove a fault handler. | Token | ||
Remove a success handler. | Token | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
Token | () | Constructor |
public function Token()
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtimeversies: | AIR 1.1, Flash Player 9 |
Constructor.
addFaultHandler | () | methode |
public function addFaultHandler(handler:Function, weakReference:Boolean = false):void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtimeversies: | 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 | () | methode |
public function addSuccessHandler(handler:Function, weakReference:Boolean = false):void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtimeversies: | 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.
|
callFaultHandlers | () | methode |
public function callFaultHandlers(error:Error):void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtimeversies: | AIR 1.1, Flash Player 9 |
Call all the fault handlers with the provided error object.
Parameters
error:Error — The error object.
|
callFaultHandlersViaErrorEvent | () | methode |
public function callFaultHandlersViaErrorEvent(errorEvent:ErrorEvent):void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtimeversies: | AIR 1.1, Flash Player 9 |
Call all the fault handlers with an Error created from the provided ErrorEvent object. This is equivalent to
callFaultHandlers(new Error(errorEvent.text));
Parameters
errorEvent:ErrorEvent — The error event.
|
callSuccessHandlers | () | methode |
public function callSuccessHandlers(... params):void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtimeversies: | AIR 1.1, Flash Player 9 |
Call all the success handlers with the provided parameters.
Parameters
... params — Zero or more parameters to be passed verbatim to any success handlers that have been added.
|
removeFaultHandler | () | methode |
public function removeFaultHandler(handler:Function):void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtimeversies: | AIR 1.1, Flash Player 9 |
Remove a fault handler.
Parameters
handler:Function — The handler to be removed.
|
removeSuccessHandler | () | methode |
public function removeSuccessHandler(handler:Function):void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtimeversies: | AIR 1.1, Flash Player 9 |
Remove a success handler.
Parameters
handler:Function — The handler to remove.
|
Wed Jun 13 2018, 11:42 AM Z