| Pacote | mx.messaging |
| Classe | public class MessageResponder |
| Herança | MessageResponder Responder Object |
| Versão da linguagem: | ActionScript 3.0 |
| Versões de produto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
result() or status() callback
on the MessageResponder. MessageResponder subclasses should override these
methods to perform any necessary processing. For every response, whether a
successful result or an error, the MessageResponder should invoke
acknowledge() on its agent. If the response was a fault, the
MessageResponder should also invoke fault() on its agent.
| Propriedade | Definido por | ||
|---|---|---|---|
| agent : MessageAgent [somente leitura]
Provides access to the MessageAgent that sent the message. | MessageResponder | ||
| channel : Channel [somente leitura]
Provides access to the Channel used to send the message. | MessageResponder | ||
![]() | constructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto. | Object | |
| message : IMessage
Provides access to the sent Message. | MessageResponder | ||
| Método | Definido por | ||
|---|---|---|---|
Constructs a MessageResponder to handle the response for the specified
Message for the specified MessageAgent. | MessageResponder | ||
![]() |
Indica se um objeto tem uma propriedade especificada definida. | Object | |
![]() |
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | |
![]() |
Indica se a propriedade especificada existe e é enumerável. | Object | |
Called by the channel that created this MessageResponder when a
response returns from the destination. | MessageResponder | ||
![]() |
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | |
Called by the channel that created this MessageResponder when a fault
response returns from the destination. | MessageResponder | ||
![]() |
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | |
![]() |
Retorna a representação de string do objeto especificado. | Object | |
![]() |
Retorna o valor primitivo do objeto especificado. | Object | |
| Método | Definido por | ||
|---|---|---|---|
Constructs an ErrorMessage that can be passed to the associated
MessageAgent's callbacks upon a request timeout. | MessageResponder | ||
Subclasses must override this method to handle a request timeout and
invoke the proper callbacks on the associated MessageAgent. | MessageResponder | ||
Subclasses must override this method to perform custom processing of
the result and invoke the proper callbacks on the associated
MessageAgent. | MessageResponder | ||
Subclasses must override this method to perform custom processing of
the status and invoke the proper callbacks on the associated
MessageAgent. | MessageResponder | ||
agent | propriedade |
agent:MessageAgent [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versões de produto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Provides access to the MessageAgent that sent the message.
Implementação
public function get agent():MessageAgentchannel | propriedade |
channel:Channel [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versões de produto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Provides access to the Channel used to send the message.
Implementação
public function get channel():Channelmessage | propriedade |
message:IMessage| Versão da linguagem: | ActionScript 3.0 |
| Versões de produto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Provides access to the sent Message.
Implementação
public function get message():IMessage public function set message(value:IMessage):voidMessageResponder | () | Construtor |
public function MessageResponder(agent:MessageAgent, message:IMessage, channel:Channel = null)| Versão da linguagem: | ActionScript 3.0 |
| Versões de produto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Constructs a MessageResponder to handle the response for the specified Message for the specified MessageAgent.
Parâmetrosagent:MessageAgent — The MessageAgent sending the Message.
| |
message:IMessage — The Message being sent.
| |
channel:Channel (default = null) — The Channel used to send.
|
createRequestTimeoutErrorMessage | () | método |
protected function createRequestTimeoutErrorMessage():ErrorMessage| Versão da linguagem: | ActionScript 3.0 |
| Versões de produto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Constructs an ErrorMessage that can be passed to the associated MessageAgent's callbacks upon a request timeout.
RetornaErrorMessage — Returns an ErrorMessage that can be passed to the associated
MessageAgent's callbacks upon a request timeout.
|
requestTimedOut | () | método |
protected function requestTimedOut():void| Versão da linguagem: | ActionScript 3.0 |
| Versões de produto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Subclasses must override this method to handle a request timeout and invoke the proper callbacks on the associated MessageAgent.
result | () | método |
public final function result(message:IMessage):void| Versão da linguagem: | ActionScript 3.0 |
| Versões de produto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Called by the channel that created this MessageResponder when a
response returns from the destination.
This method performs core result processing and then invokes the
resultHandler() method that subclasses may override to
perform any necessary custom processing.
Parâmetros
message:IMessage — The result Message returned by the destination.
|
resultHandler | () | método |
protected function resultHandler(message:IMessage):void| Versão da linguagem: | ActionScript 3.0 |
| Versões de produto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Subclasses must override this method to perform custom processing of the result and invoke the proper callbacks on the associated MessageAgent.
Parâmetros
message:IMessage — The result Message returned by the destination.
|
status | () | método |
public final function status(message:IMessage):void| Versão da linguagem: | ActionScript 3.0 |
| Versões de produto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Called by the channel that created this MessageResponder when a fault
response returns from the destination.
This method performs core result processing and then invokes the
statusHandler() method that subclasses may override to
perform any necessary custom processing.
Parâmetros
message:IMessage — The fault Message returned by the destination.
|
statusHandler | () | método |
protected function statusHandler(message:IMessage):void| Versão da linguagem: | ActionScript 3.0 |
| Versões de produto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Subclasses must override this method to perform custom processing of the status and invoke the proper callbacks on the associated MessageAgent.
Parâmetros
message:IMessage — The fault Message returned by the destination.
|
Wed Jun 13 2018, 11:10 AM Z
Ocultar propriedades públicas herdadas
Mostrar propriedades públicas herdadas