Paket | com.adobe.ep.taskmanagement.util |
Gränssnitt | public interface IToken |
Implementorer | Token |
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Token
class provides a mechanism to specify handlers for asynchronous calls.
Usually, result handlers take a single parameter of type TaskManagerEvent
(or a subclass)
and fault handlers take a single parameter of type TaskManagerFaultEvent
(or a subclass).
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
Adds a fault handler for this asynchronous invocation. | IToken | ||
Adds a result and fault handler for this asynchronous invocation. | IToken | ||
Adds an object to handle the result or failure for an asynchronous invocation. | IToken | ||
Adds a result handler for this asynchronous invocation. | IToken | ||
Calls all the fault handlers. | IToken | ||
Calls all the result handlers. | IToken |
Metoddetaljer
addFaultHandler | () | metod |
public function addFaultHandler(handler:Function):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Adds a fault handler for this asynchronous invocation.
Parametrar
handler:Function — Specifies a function that is called when the asynchronous call fails.
|
addHandlers | () | metod |
public function addHandlers(resultHandler:Function, faultHandler:Function):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Adds a result and fault handler for this asynchronous invocation.
Parametrar
resultHandler:Function — Specifies the function that is called when the asynchronous call completes.
| |
faultHandler:Function — Specifies athefunction that is called when the asynchronous call fails.
|
addResponder | () | metod |
public function addResponder(responder:IResponder):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Adds an object to handle the result or failure for an asynchronous invocation.
Parametrar
responder:IResponder — Specifies the mx.rpc.IResponder interface implementation to handle
the asynchronous result or failure.
|
addResultHandler | () | metod |
public function addResultHandler(handler:Function):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Adds a result handler for this asynchronous invocation.
Parametrar
handler:Function — Specifies a function that is called when the asynchronous call completes.
|
callFaultHandlers | () | metod |
public function callFaultHandlers(info:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Calls all the fault handlers.
Parametrar
info:Object — Specifies the information passed to all the fault handlers.
|
callResultHandlers | () | metod |
public function callResultHandlers(data:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Calls all the result handlers.
Parametrar
data:Object — Specifies the data passed to all the result handlers.
|
Tue Jun 12 2018, 01:40 PM Z