Package | com.adobe.solutions.rca.services.impl |
Class | public class CacheToken |
Inheritance | CacheToken AsyncToken EventDispatcher Object |
Language Version: | ActionScript 3.0 |
Product Version: | Review, Commenting, and Approval Building Block 10.0 |
Runtime Versions: | Flash Player 10.2, AIR (unsupported) |
Public Properties
Property | Defined By | ||
---|---|---|---|
cache : Object
An instance of Cache in which the value is looked for. | CacheToken | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
key : String
Key that is looked up in the cache. | CacheToken | ||
message : IMessage [read-only]
Provides access to the associated message. | AsyncToken | ||
responders : Array [read-only]
An array of IResponder handlers that will be called when
the asynchronous request completes. | AsyncToken | ||
result : Object [read-only]
The result that was returned by the associated RPC call. | AsyncToken |
Public Methods
Method | Defined By | ||
---|---|---|---|
CacheToken(message:IMessage = null)
The constructor for CacheToken class. | CacheToken | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | EventDispatcher | ||
Adds a responder to an Array of responders. | AsyncToken | ||
Dispatches an event into the event flow. | EventDispatcher | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | EventDispatcher | ||
Indicates whether an object has a specified property defined. | Object | ||
Determines if this token has at least one mx.rpc.IResponder registered. | AsyncToken | ||
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 | ||
Removes a listener from the EventDispatcher object. | EventDispatcher | ||
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 | ||
Checks whether an event listener is registered with this EventDispatcher object or any of
its ancestors for the specified event type. | EventDispatcher |
Public Constants
Constant | Defined By | ||
---|---|---|---|
ERROR_STATE : String = "ERROR_STATE" [static]
This property denotes that the token is in an error state. | CacheToken | ||
WAIT_STATE : String = "WAIT_STATE" [static]
This property denotes that the token is currently waiting for a remote object to return the response. | CacheToken |
Property Detail
cache | property |
cache:Object
Language Version: | ActionScript 3.0 |
Product Version: | Review, Commenting, and Approval Building Block 10.0 |
Runtime Versions: | Flash Player 10.2, AIR (unsupported) |
An instance of Cache
in which the value is looked for.
Implementation
public function get cache():Object
public function set cache(value:Object):void
key | property |
Constructor Detail
CacheToken | () | Constructor |
public function CacheToken(message:IMessage = null)
Language Version: | ActionScript 3.0 |
Product Version: | Review, Commenting, and Approval Building Block 10.0 |
Runtime Versions: | Flash Player 10.2, AIR (unsupported) |
The constructor for CacheToken
class.
message:IMessage (default = null ) — The message with which the token is associated.
|
Constant Detail
ERROR_STATE | Constant |
public static const ERROR_STATE:String = "ERROR_STATE"
Language Version: | ActionScript 3.0 |
Product Version: | Review, Commenting, and Approval Building Block 10.0 |
Runtime Versions: | Flash Player 10.2, AIR (unsupported) |
This property denotes that the token is in an error state.
WAIT_STATE | Constant |
public static const WAIT_STATE:String = "WAIT_STATE"
Language Version: | ActionScript 3.0 |
Product Version: | Review, Commenting, and Approval Building Block 10.0 |
Runtime Versions: | Flash Player 10.2, AIR (unsupported) |
This property denotes that the token is currently waiting for a remote object to return the response.
Thu Dec 6 2018, 01:12 PM -08:00