Adobe® Flash® Platform용 ActionScript® 3.0 참조 설명서
 |  패키지 및 클래스 목록 숨기기 |  패키지  |  클래스  |  새로운 내용  |  색인  |  부록  |  영어로 표시되는 이유
필터: 서버에서 데이터를 검색하는 중...
서버에서 데이터를 검색하는 중...
com.adobe.icc.token 

IAsyncToken  - AS3 Asset Composer

패키지com.adobe.icc.token
인터페이스public interface IAsyncToken

언어 버전: ActionScript 3.0
제품 버전: Asset Composer Building Block 9.5
런타임 버전: AIR (unsupported), Flash Player 9, Flash Player 10

Used to manage asynchronous method calls. Greatly inspired from com.adobe.utility.async.IToken except that the LC Utility SWC where the original IToken is defined cannot be used due to the refactoring effort involved at this time (2010/Apr/14). If IToken is ever incorporated, this interface could be made to extend IToken to as not to require refactoring code already using IAsyncToken.

By using an interface for basic token operations, methods can return different types of tokens without the caller needing to know what kind of token it is.

The caller may expect the token's success or fault handlers to be called depending on the result of the method call. Handlers will be called in the order in which they were added.



공용 속성
 속성정의 주체
  data : Object
Associates custom data to this token.
IAsyncToken
  operationName : String
[읽기 전용] Returns the operation name associated with this token or null if an operation name was not given.
IAsyncToken
공용 메서드
 메서드정의 주체
  
Adds a fault handler to this token.
IAsyncToken
  
Adds a success and a fault handler to this token.
IAsyncToken
  
버전부터 사용되지 않음 1.0: 사용 addHandlers, or addSuccessHandler/addFaultHandler
Adds a responder to this token.
IAsyncToken
  
Adds a success handler to this token.
IAsyncToken
속성 세부 정보

data

속성
data:Object

언어 버전: ActionScript 3.0
제품 버전: Asset Composer Building Block 9.5
런타임 버전: AIR (unsupported), Flash Player 9, Flash Player 10

Associates custom data to this token.



구현
    public function get data():Object
    public function set data(value:Object):void

operationName

속성 
operationName:String  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Asset Composer Building Block 9.5
런타임 버전: AIR (unsupported), Flash Player 9, Flash Player 10

Returns the operation name associated with this token or null if an operation name was not given.



구현
    public function get operationName():String
메서드 세부 정보

addFaultHandler

()메서드
public function addFaultHandler(fault:Function):void

언어 버전: ActionScript 3.0
제품 버전: Asset Composer Building Block 9.5
런타임 버전: AIR (unsupported), Flash Player 9, Flash Player 10

Adds a fault handler to this token.

매개 변수

fault:Function — The function to call on fault. Can be null, but it's not recommended to ignore a possible fault unless you are certain the call will not fail. Expected function signature: function(fault:Object).

addHandlers

()메서드 
public function addHandlers(success:Function, fault:Function):void

언어 버전: ActionScript 3.0
제품 버전: Asset Composer Building Block 9.5
런타임 버전: AIR (unsupported), Flash Player 9, Flash Player 10

Adds a success and a fault handler to this token. This is a convenience over having to explicitly call addSuccessHandler() and addFaultHandler() after receiving an IToken. With this, you can simply do asyncMethod().addHandlers(function(event:ResultEvent){}, function(event:FaultEvent){});

매개 변수

success:Function — The function to call on success. Can be null, but it's rare you wouldn't want to know about success. Expected function signature: function(data:Object).
 
fault:Function — The function to call on fault. Can be null, but it's not recommended to ignore a possible fault unless you are certain the call will not fail. Expected function signature: function(fault:Object).

addResponder

()메서드 
public function addResponder(responder:IResponder):void
버전부터 사용되지 않음 1.0: 사용 addHandlers, or addSuccessHandler/addFaultHandler

언어 버전: ActionScript 3.0
제품 버전: Asset Composer Building Block 9.5
런타임 버전: AIR (unsupported), Flash Player 9, Flash Player 10

Adds a responder to this token. Unfortunately, this method is necessary due to the refactoring effort required in cmAdmin in order to call addHandlers (or addSuccessHandler and addFaultHandler) instead.

매개 변수

responder:IResponder — The responder to add. This defines a result (success) and a fault handler to call on success or on fault, respectively.

addSuccessHandler

()메서드 
public function addSuccessHandler(success:Function):void

언어 버전: ActionScript 3.0
제품 버전: Asset Composer Building Block 9.5
런타임 버전: AIR (unsupported), Flash Player 9, Flash Player 10

Adds a success handler to this token.

매개 변수

success:Function — The function to call on success. Can be null, but it's rare you wouldn't want to know about success. Expected function signature: function(data:Object).





[ X ]영어로 표시되는 이유
ActionScript 3.0 참조 설명서의 내용이 영어로 나타납니다.

ActionScript 3.0 참조 설명서 중 일부는 전체 언어로 번역되지 않았습니다. 언어 요소가 번역되지 않은 경우 영어로 나타납니다. 예를 들어 ga.controls.HelpBox 클래스는 어떤 언어로도 번역되지 않았습니다. 그러므로 한국어 버전의 참조 설명서에서 ga.controls.HelpBox 클래스는 영어로 나타납니다.