| Pacchetto | com.adobe.livecycle.rca.service |
| Classe | public class DefaultResponder |
| Ereditarietà | DefaultResponder Object |
| Implementa | IResponder |
Obsoleto da Review, Commenting, and Approval 10New Review, Commenting, and Approval APIs dont use a default responder.
| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Blocco costitutivo Review, Commenting, and Approval 9.5 |
| Versioni runtime: | Flash Player 9, Flash Player 10, AIR (unsupported) |
IResponder and allows a result and fault handler to be defined. Use this class
instead of defining these functions everywhere an asynchronous call is made.
Proprietà pubbliche
Metodi pubblici
| Metodo | Definito da | ||
|---|---|---|---|
Constructs a DefaultResponder based on the specified result and fault handlers. | DefaultResponder | ||
This method is called by a service when an error has been received. | DefaultResponder | ||
![]() |
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 | |
This method is called by a service when the return value
has been received. | DefaultResponder | ||
![]() |
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 | |
Descrizione della funzione di costruzione
DefaultResponder | () | Funzione di costruzione |
public function DefaultResponder(resultHandler:Function, faultHandler:Function)| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Blocco costitutivo Review, Commenting, and Approval 9.5 |
| Versioni runtime: | Flash Player 9, Flash Player 10, AIR (unsupported) |
Constructs a DefaultResponder based on the specified result and fault handlers.
resultHandler:Function — Optional function to call when the asynchronous operation is successful.
| |
faultHandler:Function — Optional function to call when the asynchronous operation fails.
|
Descrizione dei metodi
fault | () | metodo |
public function fault(info:Object):void| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Blocco costitutivo Review, Commenting, and Approval 9.5 |
| Versioni runtime: | Flash Player 9, Flash Player 10, AIR (unsupported) |
This method is called by a service when an error has been received.
While info is typed as Object it is often
(but not always) an mx.rpc.events.FaultEvent.
Parametri
info:Object |
result | () | metodo |
public function result(data:Object):void| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Blocco costitutivo Review, Commenting, and Approval 9.5 |
| Versioni runtime: | Flash Player 9, Flash Player 10, AIR (unsupported) |
This method is called by a service when the return value
has been received.
While data is typed as Object, it is often
(but not always) an mx.rpc.events.ResultEvent.
Parametri
data:Object |
Tue Jun 12 2018, 02:44 PM Z
Nascondi proprietà pubbliche ereditate
Mostra proprietà pubbliche ereditate