套件 | com.adobe.solutions.rca.services.impl |
類別 | public class CacheToken |
繼承 | CacheToken AsyncToken EventDispatcher Object |
語言版本: | ActionScript 3.0 |
產品版本: | Review, Commenting, and Approval Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
cache : Object
An instance of Cache in which the value is looked for. | CacheToken | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
key : String
Key that is looked up in the cache. | CacheToken | ||
message : IMessage [唯讀]
Provides access to the associated message. | AsyncToken | ||
responders : Array [唯讀]
An array of IResponder handlers that will be called when
the asynchronous request completes. | AsyncToken | ||
result : Object [唯讀]
The result that was returned by the associated RPC call. | AsyncToken |
公用方法
方法 | 定義自 | ||
---|---|---|---|
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
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
Adds a responder to an Array of responders. | AsyncToken | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
Determines if this token has at least one mx.rpc.IResponder registered. | AsyncToken | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
公用常數
常數 | 定義自 | ||
---|---|---|---|
ERROR_STATE : String = "ERROR_STATE" [靜態]
This property denotes that the token is in an error state. | CacheToken | ||
WAIT_STATE : String = "WAIT_STATE" [靜態]
This property denotes that the token is currently waiting for a remote object to return the response. | CacheToken |
屬性詳細資訊
cache | 屬性 |
key | 屬性 |
建構函式詳細資料
CacheToken | () | 建構函式 |
public function CacheToken(message:IMessage = null)
語言版本: | ActionScript 3.0 |
產品版本: | Review, Commenting, and Approval Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
The constructor for CacheToken
class.
message:IMessage (default = null ) — The message with which the token is associated.
|
常數詳細資訊
ERROR_STATE | 常數 |
public static const ERROR_STATE:String = "ERROR_STATE"
語言版本: | ActionScript 3.0 |
產品版本: | Review, Commenting, and Approval Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This property denotes that the token is in an error state.
WAIT_STATE | 常數 |
public static const WAIT_STATE:String = "WAIT_STATE"
語言版本: | ActionScript 3.0 |
產品版本: | Review, Commenting, and Approval Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This property denotes that the token is currently waiting for a remote object to return the response.
Tue Jun 12 2018, 03:47 PM Z