包 | 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, 11:04 AM Z