Pacchetto | com.adobe.gravity.utility.async |
Classe | public class AggregatingToken |
Ereditarietà | AggregatingToken Object |
Implementa | IToken |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versioni runtime: | 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.
Metodo | Definito da | ||
---|---|---|---|
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 | ||
Indica se per un oggetto è definita una proprietà specifica. | Object | ||
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | ||
Indica se la proprietà specificata esiste ed è enumerabile. | Object | ||
Remove a fault handler. | AggregatingToken | ||
Remove a success handler. | AggregatingToken | ||
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | ||
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | ||
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | ||
Restituisce il valore di base dell'oggetto specificato. | Object |
AggregatingToken | () | Funzione di costruzione |
public function AggregatingToken()
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versioni runtime: | AIR 1.1, Flash Player 9 |
Constructor.
addFaultHandler | () | metodo |
public function addFaultHandler(handler:Function, weakReference:Boolean = false):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versioni runtime: | AIR 1.1, Flash Player 9 |
Add a handler to be called if the operation fails.
Parametri
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 | () | metodo |
public function addSuccessHandler(handler:Function, weakReference:Boolean = false):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versioni runtime: | AIR 1.1, Flash Player 9 |
Add a handler to be called if the operation succeeds.
Parametri
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 | () | metodo |
public function addToken(token:com.adobe.gravity.utility.async:IToken):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versioni runtime: | 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.
Parametri
token:com.adobe.gravity.utility.async:IToken — The token to be aggregated.
|
doneAddingTokens | () | metodo |
public function doneAddingTokens():void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versioni runtime: | 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 | () | metodo |
public function removeFaultHandler(handler:Function):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versioni runtime: | AIR 1.1, Flash Player 9 |
Remove a fault handler.
Parametri
handler:Function — The handler to be removed.
|
removeSuccessHandler | () | metodo |
public function removeSuccessHandler(handler:Function):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versioni runtime: | AIR 1.1, Flash Player 9 |
Remove a success handler.
Parametri
handler:Function — The handler to remove.
|
Tue Jun 12 2018, 02:44 PM Z