Pacote | com.adobe.ep.taskmanagement.util |
Interface | public interface IToken |
Implementadores | Token |
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Versões de runtime: | 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).
Métodos públicos
Método | Definido por | ||
---|---|---|---|
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 |
Detalhes do método
addFaultHandler | () | método |
public function addFaultHandler(handler:Function):void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Versões de runtime: | AIR 2.6, Flash Player 10.2 |
Adds a fault handler for this asynchronous invocation.
Parâmetros
handler:Function — Specifies a function that is called when the asynchronous call fails.
|
addHandlers | () | método |
public function addHandlers(resultHandler:Function, faultHandler:Function):void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Versões de runtime: | AIR 2.6, Flash Player 10.2 |
Adds a result and fault handler for this asynchronous invocation.
Parâmetros
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 | () | método |
public function addResponder(responder:IResponder):void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Versões de runtime: | AIR 2.6, Flash Player 10.2 |
Adds an object to handle the result or failure for an asynchronous invocation.
Parâmetros
responder:IResponder — Specifies the mx.rpc.IResponder interface implementation to handle
the asynchronous result or failure.
|
addResultHandler | () | método |
public function addResultHandler(handler:Function):void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Versões de runtime: | AIR 2.6, Flash Player 10.2 |
Adds a result handler for this asynchronous invocation.
Parâmetros
handler:Function — Specifies a function that is called when the asynchronous call completes.
|
callFaultHandlers | () | método |
public function callFaultHandlers(info:Object):void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Versões de runtime: | AIR 2.6, Flash Player 10.2 |
Calls all the fault handlers.
Parâmetros
info:Object — Specifies the information passed to all the fault handlers.
|
callResultHandlers | () | método |
public function callResultHandlers(data:Object):void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
Versões de runtime: | AIR 2.6, Flash Player 10.2 |
Calls all the result handlers.
Parâmetros
data:Object — Specifies the data passed to all the result handlers.
|
Wed Jun 13 2018, 11:10 AM Z