| Пакет | com.adobe.livecycle.rca.service |
| Класс | public class DefaultResponder |
| Наследование | DefaultResponder Object |
| Реализует | IResponder |
Устарело с Review, Commenting, and Approval 10New Review, Commenting, and Approval APIs dont use a default responder.
| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Review, Commenting, and Approval Building Block 9.5 |
| Версии среды выполнения: | 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.
Общедоступные свойства
Общедоступные методы
| Метод | Определено | ||
|---|---|---|---|
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 | ||
![]() |
Показывает, определено ли заданное свойство для объекта. | Object | |
![]() |
Показывает, есть ли экземпляр класса Object в цепи прототипов объекта, заданного в качестве параметра. | Object | |
![]() |
Показывает наличие заданного свойства и его перечисляемость. | Object | |
This method is called by a service when the return value
has been received. | DefaultResponder | ||
![]() |
Задает доступность динамического свойства для операций цикла. | Object | |
![]() |
Возвращает строковое представление этого объекта, отформатированного в соответствии со стандартами, принятыми для данной локали. | Object | |
![]() |
Возвращает строковое представление заданного объекта. | Object | |
![]() |
Возвращает элементарное значение заданного объекта. | Object | |
Сведения о конструкторе
DefaultResponder | () | Конструктор |
public function DefaultResponder(resultHandler:Function, faultHandler:Function)| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Review, Commenting, and Approval Building Block 9.5 |
| Версии среды выполнения: | 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.
|
Сведения о методе
fault | () | метод |
public function fault(info:Object):void| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Review, Commenting, and Approval Building Block 9.5 |
| Версии среды выполнения: | 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.
Параметры
info:Object |
result | () | метод |
public function result(data:Object):void| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Review, Commenting, and Approval Building Block 9.5 |
| Версии среды выполнения: | 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.
Параметры
data:Object |
Tue Jun 12 2018, 11:34 AM Z
Скрыть унаследованные общедоступные свойства
Показать унаследованные общедоступные свойства