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

IAsyncToken  - AS3 Review, Commenting, and Approval

패키지com.adobe.livecycle.rca.token
인터페이스public interface IAsyncToken
구현자 RCAToken
버전부터 사용되지 않음 Review, Commenting, and Approval 10New Review, Commenting, and Approval APIs use mx.rpc.AsyncToken

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

Used to manage asynchronous method calls.

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.



공용 메서드
 메서드정의 주체
  
Adds a fault handler to this token.
IAsyncToken
  
Adds success and fault handlers to this token.
IAsyncToken
  
Adds a responder to this token.
IAsyncToken
  
Adds a success handler to this token.
IAsyncToken
메서드 세부 정보

addFaultHandler

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

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

Adds a fault handler to this token.

매개 변수

fault:Function — The function to call on fault. Can be null, but ignoring a possible fault is not recommended unless you are certain the call cannot fail. The expected function signature is function(fault:Object).

addHandlers

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

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

Adds success and fault handlers to this token. Adding handlers is more convenient than explicitly calling addSuccessHandler() and addFaultHandler() after receiving an IToken. Instead, you can use asyncMethod().addHandlers(function(event:ResultEvent){}, function(event:FaultEvent){});

매개 변수

success:Function — The function to call on success. Can be null, but in most cases, you want to call a function on success. The expected function signature is function(data:Object).
 
fault:Function — The function to call on fault. Can be null, but ignoring a fault is not recommended unless you are certain that the call cannot fail. The expected function signature is function(fault:Object).

addResponder

()메서드 
public function addResponder(responder:IResponder):void

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

Adds a responder to this token.

매개 변수

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

addSuccessHandler

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

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

Adds a success handler to this token.

매개 변수

success:Function — The function to call on success. Can be null, but in most cases, you want to call a function on success. The expected function signature is function(data:Object).





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

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