套件 | 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, 03:47 PM Z