Pakket | mx.messaging |
Klasse | public class MessageResponder |
Overerving | MessageResponder Responder Object |
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | 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.
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
agent : MessageAgent [alleen-lezen]
Provides access to the MessageAgent that sent the message. | MessageResponder | ||
channel : Channel [alleen-lezen]
Provides access to the Channel used to send the message. | MessageResponder | ||
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object | ||
message : IMessage
Provides access to the sent Message. | MessageResponder |
Methode | Gedefinieerd door | ||
---|---|---|---|
Constructs a MessageResponder to handle the response for the specified
Message for the specified MessageAgent. | MessageResponder | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Called by the channel that created this MessageResponder when a
response returns from the destination. | MessageResponder | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Called by the channel that created this MessageResponder when a fault
response returns from the destination. | MessageResponder | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
Methode | Gedefinieerd door | ||
---|---|---|---|
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 | eigenschap |
agent:MessageAgent
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Provides access to the MessageAgent that sent the message.
Implementatie
public function get agent():MessageAgent
channel | eigenschap |
message | eigenschap |
message:IMessage
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Provides access to the sent Message.
Implementatie
public function get message():IMessage
public function set message(value:IMessage):void
MessageResponder | () | Constructor |
public function MessageResponder(agent:MessageAgent, message:IMessage, channel:Channel = null)
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Constructs a MessageResponder to handle the response for the specified Message for the specified MessageAgent.
Parametersagent:MessageAgent — The MessageAgent sending the Message.
| |
message:IMessage — The Message being sent.
| |
channel:Channel (default = null ) — The Channel used to send.
|
createRequestTimeoutErrorMessage | () | methode |
protected function createRequestTimeoutErrorMessage():ErrorMessage
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Constructs an ErrorMessage that can be passed to the associated MessageAgent's callbacks upon a request timeout.
Geretourneerde waardeErrorMessage — Returns an ErrorMessage that can be passed to the associated
MessageAgent's callbacks upon a request timeout.
|
requestTimedOut | () | methode |
protected function requestTimedOut():void
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | 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 | () | methode |
public final function result(message:IMessage):void
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | 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.
Parameters
message:IMessage — The result Message returned by the destination.
|
resultHandler | () | methode |
protected function resultHandler(message:IMessage):void
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | 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.
Parameters
message:IMessage — The result Message returned by the destination.
|
status | () | methode |
public final function status(message:IMessage):void
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | 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.
Parameters
message:IMessage — The fault Message returned by the destination.
|
statusHandler | () | methode |
protected function statusHandler(message:IMessage):void
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | 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.
Parameters
message:IMessage — The fault Message returned by the destination.
|
Wed Jun 13 2018, 11:42 AM Z