(Beta)
Package | coldfusion.air |
Class | public dynamic class SessionToken |
Inheritance | SessionToken Object |
Language Version: | ActionScript 3.0 |
Product Version: | ColdFusion 9 |
Runtime Versions: | 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.
Public Properties
Property | Defined By | ||
---|---|---|---|
autoGeneratedId : Object
The auto-generated key for inserts. | SessionToken | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
responders : Array [read-only]
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 [read-only]
The session object associated with the token. | SessionToken | ||
UID : String [read-only]
Returns the UID associated with the token. | SessionToken |
Public Methods
Method | Defined By | ||
---|---|---|---|
SessionToken(session:Session)
Creates an instance of the SessionToken class. | SessionToken | ||
addResponder adds a responder to an Array of responders. | SessionToken | ||
Indicates whether an object has a specified property defined. | Object | ||
Determines if this token has at least one mx.rpc.IResponder registered. | SessionToken | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Property Detail
autoGeneratedId | property |
public var autoGeneratedId:Object
Language Version: | ActionScript 3.0 |
Product Version: | ColdFusion 9.0.1 |
Runtime Versions: | Flash Player 9, AIR 1.0 |
The auto-generated key for inserts. If not generated, the value is null.
responders | property |
responders:Array
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | ColdFusion 9 |
Runtime Versions: | 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.
Implementation
public function get responders():Array
result | property |
public var result:Object
Language Version: | ActionScript 3.0 |
Product Version: | ColdFusion 9 |
Runtime Versions: | Flash Player 9, AIR 1.0 |
The result that was returned by the associated call.
scope | property |
cfair_internal var scope:Object
session | property |
UID | property |
Constructor Detail
SessionToken | () | Constructor |
Method Detail
addResponder | () | method |
public function addResponder(responder:IResponder):void
Language Version: | ActionScript 3.0 |
Product Version: | ColdFusion 9 |
Runtime Versions: | 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
.
Parameters
responder:IResponder — A handler which will be called when the asynchronous request completes.
|
Related API Elements
hasResponder | () | method |
Wed Nov 21 2018, 06:34 AM -08:00