套件 | coldfusion.air |
類別 | public dynamic class SessionToken |
繼承 | SessionToken Object |
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Session
class.
It also allows an IResponder to be attached for an individual call.
The SessionToken can be referenced in SessionResultEvent and SessionFaultEvent from the sessionToken property.
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
autoGeneratedId : Object
The auto-generated key for inserts. | SessionToken | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
responders : Array [唯讀]
An array of IResponder handlers that will be called when
the asynchronous request completes. | SessionToken | ||
result : Object
The result that was returned by the associated call. | SessionToken | ||
session : Session [唯讀]
The session object associated with the token. | SessionToken | ||
UID : String [唯讀]
Returns the UID associated with the token. | SessionToken |
公用方法
方法 | 定義自 | ||
---|---|---|---|
SessionToken(session:Session)
Creates an instance of the SessionToken class. | SessionToken | ||
addResponder adds a responder to an Array of responders. | SessionToken | ||
指出物件是否有已定義的指定屬性。 | Object | ||
Determines if this token has at least one mx.rpc.IResponder registered. | SessionToken | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object |
屬性詳細資訊
autoGeneratedId | 屬性 |
public var autoGeneratedId:Object
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9.0.1 |
執行階段版本: | Flash Player 9, AIR 1.0 |
The auto-generated key for inserts. If not generated, the value is null.
responders | 屬性 |
responders:Array
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
An array of IResponder handlers that will be called when
the asynchronous request completes.
Each responder assigned to the token will have its result
or fault
function called by passing in the
matching event before the operation or service dispatches the
event itself.
實作
public function get responders():Array
result | 屬性 |
public var result:Object
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
The result that was returned by the associated call.
scope | 屬性 |
cfair_internal var scope:Object
session | 屬性 |
UID | 屬性 |
建構函式詳細資料
SessionToken | () | 建構函式 |
方法詳細資訊
addResponder | () | 方法 |
public function addResponder(responder:IResponder):void
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
addResponder
adds a responder to an Array of responders.
The object assigned to the responder parameter must implement
mx.rpc.IResponder
.
參數
responder:IResponder — A handler which will be called when the asynchronous request completes.
|
相關 API 元素
hasResponder | () | 方法 |
Tue Jun 12 2018, 03:47 PM Z