패키지 | com.adobe.gravity.utility.async |
클래스 | public class AggregatingToken |
상속 | AggregatingToken Object |
구현 | IToken |
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
The parameters passed to the success handler are the combination of all the parameters for the success handlers of the aggregated tokens, in the order in which the tokens were added.
메서드 | 정의 주체 | ||
---|---|---|---|
Constructor. | AggregatingToken | ||
Add a handler to be called if the operation fails. | AggregatingToken | ||
Add a handler to be called if the operation succeeds. | AggregatingToken | ||
Add a token to be aggregated. | AggregatingToken | ||
Indicates that all IToken objects to be aggregated have been added. | AggregatingToken | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
Remove a fault handler. | AggregatingToken | ||
Remove a success handler. | AggregatingToken | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
AggregatingToken | () | 생성자 |
public function AggregatingToken()
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
Constructor.
addFaultHandler | () | 메서드 |
public function addFaultHandler(handler:Function, weakReference:Boolean = false):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
Add a handler to be called if the operation fails.
매개 변수
handler:Function — A function to be called if the operation fails.
| |
weakReference:Boolean (default = false ) — Use a weak reference to hold onto the handler.
|
addSuccessHandler | () | 메서드 |
public function addSuccessHandler(handler:Function, weakReference:Boolean = false):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
Add a handler to be called if the operation succeeds.
매개 변수
handler:Function — A function to be called if the operation succeeds.
| |
weakReference:Boolean (default = false ) — Use a weak reference to hold onto the handler.
|
addToken | () | 메서드 |
public function addToken(token:com.adobe.gravity.utility.async:IToken):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
Add a token to be aggregated.
NOTE: You must call doneAddingTokens() when you are done adding tokens, otherwise your success or fault handlers will never be called.
매개 변수
token:com.adobe.gravity.utility.async:IToken — The token to be aggregated.
|
doneAddingTokens | () | 메서드 |
public function doneAddingTokens():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
Indicates that all IToken objects to be aggregated have been added.
Only after doneAddingTokens is called will success or fault handlers be invoked. Note that this is true even if all tokens have already indicated completion before doneAddingTokens is called (in which case the call to doneAddingTokens itself will trigger invocation of the success or fault handlers).
NOTE: doneAddingTokens can only be called once. Additional calls to doneAddingTokens will have no effect.
removeFaultHandler | () | 메서드 |
removeSuccessHandler | () | 메서드 |
Tue Jun 12 2018, 03:17 PM Z