Packagecom.adobe.csxs.types
Classpublic class AsyncRequestResult

Stores the result information for an asynchronous call. When an asynchronous call is complete, the system dispatches an AsyncRequestEvent. that contains an object of this type. It includes the result status, which reports whether the request completed successfully or failed in a particular way, and a token that distinguishes requests that are made at the same time.



Public Properties
 PropertyDefined by
  status : String
Retrieves the result status of the request.
AsyncRequestResult
  token : String
Retrieves the identifying token associated with the request.
AsyncRequestResult
Public Methods
 MethodDefined by
  
AsyncRequestResult(status:String = "PlugPlugRequestFailed", token:String)
Creates an asynchronous request result object.
AsyncRequestResult
  
toString():String
Creates a string that contains all the properties of this object.
AsyncRequestResult
Public Constants
 ConstantDefined by
  DENIED : String = "PlugPlugRequestDenied"
[static] Asynchronous call result constant, passed in status.
AsyncRequestResult
  EXTERNALINTERFACE_NOT_AVAILABLE : String = "ExternalInterfaceNotAvailable"
[static] Asynchronous call error result constant, passed in status.
AsyncRequestResult
  FAILED : String = "PlugPlugRequestFailed"
[static] Asynchronous call result constant, passed in status.
AsyncRequestResult
  INVALID_INPUT_PARAMS : String = "InvalidInputParams"
[static] Asynchronous call error result constant, passed in status.
AsyncRequestResult
  INVALID_RETURN_PARAMS : String = "InvalidReturnParams"
[static] Asynchronous call error result constant, passed in status.
AsyncRequestResult
  INVALID_TOKEN : String = "invalid"
[static] Asynchronous call error result constant, passed in status.
AsyncRequestResult
  POSTED : String = "PlugPlugRequestPosted"
[static] Asynchronous call result constant, passed in status.
AsyncRequestResult
Property detail
statusproperty
status:String  [read-write]

Retrieves the result status of the request.

Implementation
    public function get status():String
    public function set status(value:String):void
tokenproperty 
token:String  [read-write]

Retrieves the identifying token associated with the request. This is a unique identifying string passed to the original request that distinguishes this request from others made at the same time.

Implementation
    public function get token():String
    public function set token(value:String):void
Constructor detail
AsyncRequestResult()constructor
public function AsyncRequestResult(status:String = "PlugPlugRequestFailed", token:String)

Creates an asynchronous request result object.

Parameters
status:String (default = "PlugPlugRequestFailed") — The result status constant.
 
token:String — A unique identifying string passed to the original request that distinguishes this request from others made at the same time.
Method detail
toString()method
public function toString():String

Creates a string that contains all the properties of this object.

Returns
String — The properties string.
Constant detail
DENIEDconstant
public static const DENIED:String = "PlugPlugRequestDenied"

Asynchronous call result constant, passed in status.

EXTERNALINTERFACE_NOT_AVAILABLEconstant 
public static const EXTERNALINTERFACE_NOT_AVAILABLE:String = "ExternalInterfaceNotAvailable"

Asynchronous call error result constant, passed in status.

FAILEDconstant 
public static const FAILED:String = "PlugPlugRequestFailed"

Asynchronous call result constant, passed in status.

INVALID_INPUT_PARAMSconstant 
public static const INVALID_INPUT_PARAMS:String = "InvalidInputParams"

Asynchronous call error result constant, passed in status.

INVALID_RETURN_PARAMSconstant 
public static const INVALID_RETURN_PARAMS:String = "InvalidReturnParams"

Asynchronous call error result constant, passed in status.

INVALID_TOKENconstant 
public static const INVALID_TOKEN:String = "invalid"

Asynchronous call error result constant, passed in status.

POSTEDconstant 
public static const POSTED:String = "PlugPlugRequestPosted"

Asynchronous call result constant, passed in status.