| 包 | lc.foundation.util | 
| 类 | public class DefaultResponder | 
| 继承 | DefaultResponder    Object | 
| 实现 | IResponder | 
| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 | 
| 运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 | 
DefaultResponder class is an implementation of the mx.rpc.IResponder interface.
	 It allows you to specify a result handler and fault handler functions.
	 相关 API 元素
公共方法 
| 方法 | 由以下参数定义 | ||
|---|---|---|---|
 
		 Constructor.  | DefaultResponder | ||
 
		 Executes when an error has been received.  | DefaultResponder | ||
![]()  | 
	 表示对象是否已经定义了指定的属性。  | Object | |
![]()  | 
	 表示 Object 类的实例是否在指定为参数的对象的原型链中。  | Object | |
![]()  | 
	 表示指定的属性是否存在、是否可枚举。  | Object | |
 
		 Executes when a result or return value is received.  | DefaultResponder | ||
![]()  | 
     设置循环操作动态属性的可用性。  | Object | |
![]()  | 
	 返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。  | Object | |
![]()  | 
	 返回指定对象的字符串表示形式。  | Object | |
![]()  | 
	 返回指定对象的原始值。  | Object | |
构造函数详细信息
DefaultResponder | () | 构造函数 | 
public function DefaultResponder(resultHandler:Function, faultHandler:Function)| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 | 
| 运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 | 
Constructor.
参数resultHandler:Function — Specifies the function that is  called when the asynchronous 
		 call completes.
		  | |
faultHandler:Function — Specifies a function that is called when the asynchronous call fails.
		 
		  | 
方法详细信息
fault | () | 方法 | 
 public function fault(info:Object):void| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 | 
| 运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 | 
Executes when an error has been received.
参数
info:Object — Specifies the information from an event, such as a mx.rpc.events.FaultEvent object.
		  | 
result | () | 方法 | 
 public function result(data:Object):void| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 | 
| 运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 | 
Executes when a result or return value is received.
参数
data:Object — Specifies  the data from an event, such as a mx.rpc.events.ResultEvent object. 
		 
		  | 
Tue Jun 12 2018, 11:04 AM Z
 
 隐藏继承的公共属性
 显示继承的公共属性