Paket | com.adobe.gravity.utility.async |
Klass | public class AggregatingToken |
Arv | AggregatingToken Object |
Implementerar | IToken |
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
The parameters passed to the success handler are the combination of all the parameters for the success handlers of the aggregated tokens, in the order in which the tokens were added.
Metod | Definieras med | ||
---|---|---|---|
Constructor. | AggregatingToken | ||
Add a handler to be called if the operation fails. | AggregatingToken | ||
Add a handler to be called if the operation succeeds. | AggregatingToken | ||
Add a token to be aggregated. | AggregatingToken | ||
Indicates that all IToken objects to be aggregated have been added. | AggregatingToken | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Remove a fault handler. | AggregatingToken | ||
Remove a success handler. | AggregatingToken | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object |
AggregatingToken | () | Konstruktor |
public function AggregatingToken()
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
Constructor.
addFaultHandler | () | metod |
public function addFaultHandler(handler:Function, weakReference:Boolean = false):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
Add a handler to be called if the operation fails.
Parametrar
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 | () | metod |
public function addSuccessHandler(handler:Function, weakReference:Boolean = false):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
Add a handler to be called if the operation succeeds.
Parametrar
handler:Function — A function to be called if the operation succeeds.
| |
weakReference:Boolean (default = false ) — Use a weak reference to hold onto the handler.
|
addToken | () | metod |
public function addToken(token:com.adobe.gravity.utility.async:IToken):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
Add a token to be aggregated.
NOTE: You must call doneAddingTokens() when you are done adding tokens, otherwise your success or fault handlers will never be called.
Parametrar
token:com.adobe.gravity.utility.async:IToken — The token to be aggregated.
|
doneAddingTokens | () | metod |
public function doneAddingTokens():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
Indicates that all IToken objects to be aggregated have been added.
Only after doneAddingTokens is called will success or fault handlers be invoked. Note that this is true even if all tokens have already indicated completion before doneAddingTokens is called (in which case the call to doneAddingTokens itself will trigger invocation of the success or fault handlers).
NOTE: doneAddingTokens can only be called once. Additional calls to doneAddingTokens will have no effect.
removeFaultHandler | () | metod |
public function removeFaultHandler(handler:Function):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
Remove a fault handler.
Parametrar
handler:Function — The handler to be removed.
|
removeSuccessHandler | () | metod |
public function removeSuccessHandler(handler:Function):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
Remove a success handler.
Parametrar
handler:Function — The handler to remove.
|
Tue Jun 12 2018, 01:40 PM Z