Paquete | mx.messaging |
Clase | public class MessageResponder |
Herencia | MessageResponder Responder Object |
Versión del lenguaje: | ActionScript 3.0 |
Versiones de producto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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.
Propiedad | Definido por | ||
---|---|---|---|
agent : MessageAgent [solo lectura]
Provides access to the MessageAgent that sent the message. | MessageResponder | ||
channel : Channel [solo lectura]
Provides access to the Channel used to send the message. | MessageResponder | ||
constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | 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 si un objeto tiene definida una propiedad especificada. | Object | ||
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | ||
Indica si existe la propiedad especificada y si es enumerable. | Object | ||
Called by the channel that created this MessageResponder when a
response returns from the destination. | MessageResponder | ||
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | ||
Called by the channel that created this MessageResponder when a fault
response returns from the destination. | MessageResponder | ||
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | ||
Devuelve la representación de cadena del objeto especificado. | Object | ||
Devuelve el valor simple del 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 | propiedad |
agent:MessageAgent
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versiones de producto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Provides access to the MessageAgent that sent the message.
Implementación
public function get agent():MessageAgent
channel | propiedad |
channel:Channel
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versiones de producto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Provides access to the Channel used to send the message.
Implementación
public function get channel():Channel
message | propiedad |
message:IMessage
Versión del lenguaje: | ActionScript 3.0 |
Versiones de producto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Provides access to the sent Message.
Implementación
public function get message():IMessage
public function set message(value:IMessage):void
MessageResponder | () | Información sobre |
public function MessageResponder(agent:MessageAgent, message:IMessage, channel:Channel = null)
Versión del lenguaje: | ActionScript 3.0 |
Versiones de producto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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
Versión del lenguaje: | ActionScript 3.0 |
Versiones de producto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Constructs an ErrorMessage that can be passed to the associated MessageAgent's callbacks upon a request timeout.
Valor devueltoErrorMessage — Returns an ErrorMessage that can be passed to the associated
MessageAgent's callbacks upon a request timeout.
|
requestTimedOut | () | método |
protected function requestTimedOut():void
Versión del lenguaje: | ActionScript 3.0 |
Versiones de producto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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
Versión del lenguaje: | ActionScript 3.0 |
Versiones de producto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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
Versión del lenguaje: | ActionScript 3.0 |
Versiones de producto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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
Versión del lenguaje: | ActionScript 3.0 |
Versiones de producto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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
Versión del lenguaje: | ActionScript 3.0 |
Versiones de producto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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.
|
Tue Jun 12 2018, 02:12 PM Z