Paket | com.adobe.ep.taskmanagement.util |
Schnittstelle | public interface IToken |
Umsetzer | Token |
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Laufzeitversionen: | 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).
Öffentliche Methoden
Methode | Definiert von | ||
---|---|---|---|
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 |
Methodendetails
addFaultHandler | () | Methode |
public function addFaultHandler(handler:Function):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
Adds a fault handler for this asynchronous invocation.
Parameter
handler:Function — Specifies a function that is called when the asynchronous call fails.
|
addHandlers | () | Methode |
public function addHandlers(resultHandler:Function, faultHandler:Function):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
Adds a result and fault handler for this asynchronous invocation.
Parameter
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 | () | Methode |
public function addResponder(responder:IResponder):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
Adds an object to handle the result or failure for an asynchronous invocation.
Parameter
responder:IResponder — Specifies the mx.rpc.IResponder interface implementation to handle
the asynchronous result or failure.
|
addResultHandler | () | Methode |
public function addResultHandler(handler:Function):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
Adds a result handler for this asynchronous invocation.
Parameter
handler:Function — Specifies a function that is called when the asynchronous call completes.
|
callFaultHandlers | () | Methode |
public function callFaultHandlers(info:Object):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
Calls all the fault handlers.
Parameter
info:Object — Specifies the information passed to all the fault handlers.
|
callResultHandlers | () | Methode |
public function callResultHandlers(data:Object):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
Calls all the result handlers.
Parameter
data:Object — Specifies the data passed to all the result handlers.
|
Tue Jun 12 2018, 10:04 AM Z