ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
mx.data 

AsyncTokenResponder  - AS3 ADEP Data Services

Packagemx.data
Classpublic class AsyncTokenResponder
InheritanceAsyncTokenResponder Inheritance AsyncResponder Inheritance Object
Implements ITokenResponder

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Data Services for Java EE 4.5
Runtime Versions: Flash Player 10.1, AIR 2.0

Subclass of AsyncResponder that exposes the result token.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  resultToken : mx.rpc:AsyncToken
[read-only] The AsyncToken for the result.
AsyncTokenResponder
Public Methods
 MethodDefined By
  
Constructor.
AsyncTokenResponder
 Inherited
This method is called by a service when an error has been received.
AsyncResponder
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
This method is called by a service when the return value has been received.
AsyncResponder
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

resultToken

property
resultToken:mx.rpc:AsyncToken  [read-only]

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Data Services for Java EE 4.5
Runtime Versions: Flash Player 10.1, AIR 2.0

The AsyncToken for the result.



Implementation
    public function get resultToken():mx.rpc:AsyncToken
Constructor Detail

AsyncTokenResponder

()Constructor
public function AsyncTokenResponder(result:Function, fault:Function, token:mx.rpc:AsyncToken)

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Data Services for Java EE 4.5
Runtime Versions: Flash Player 10.1, AIR 2.0

Constructor.

Parameters
result:Function — Function that should be called when the request has completed successfully. Must have the following signature:
public function (result:Object, token:Object = null):void;
 
fault:Function — Function that should be called when the request has completed with errors. Must have the following signature:
public function (error:FaultEvent, token:Object = null):void;
 
token:mx.rpc:AsyncToken — Additional information to associate with this request.