Paket | com.adobe.livecycle.rca.service |
Klass | public class DefaultResponder |
Arv | DefaultResponder Object |
Implementerar | IResponder |
Borttagen sedan Review, Commenting, and Approval 10New Review, Commenting, and Approval APIs dont use a default responder.
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 9.5 |
Körningsmiljöversioner: | 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.
Publika egenskaper
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
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 | ||
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 | ||
This method is called by a service when the return value
has been received. | DefaultResponder | ||
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 |
Konstruktordetaljer
DefaultResponder | () | Konstruktor |
public function DefaultResponder(resultHandler:Function, faultHandler:Function)
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 9.5 |
Körningsmiljöversioner: | 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.
|
Metoddetaljer
fault | () | metod |
public function fault(info:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 9.5 |
Körningsmiljöversioner: | 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.
Parametrar
info:Object |
result | () | metod |
public function result(data:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 9.5 |
Körningsmiljöversioner: | 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.
Parametrar
data:Object |
Tue Jun 12 2018, 01:40 PM Z