Package | mx.rpc |
Class | public class AsyncRequest |
Inheritance | AsyncRequest ![]() ![]() ![]() ![]() |
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Method | Defined By | ||
---|---|---|---|
Constructs a new asynchronous request. | AsyncRequest | ||
![]() |
Invoked by a MessageResponder upon receiving a result for a sent
message. | MessageAgent | |
![]() | channelConnectHandler(event:ChannelEvent):void
Handles a CONNECT ChannelEvent. | MessageAgent | |
![]() | channelDisconnectHandler(event:ChannelEvent):void
Handles a DISCONNECT ChannelEvent. | MessageAgent | |
![]() | channelFaultHandler(event:ChannelFaultEvent):void
Handles a ChannelFaultEvent. | MessageAgent | |
![]() | connect():void
Connects the Producer to its target destination. | AbstractProducer | |
![]() | disconnect():void [override]
Disconnects the Producer from its remote destination. | AbstractProducer | |
![]() |
Invoked by a MessageResponder upon receiving a fault for a sent message. | MessageAgent | |
hasPendingRequestForMessage(msg:IMessage):Boolean [override]
Returns true if there are any pending requests for the passed in message. | AsyncRequest | ||
![]() | initialized(document:Object, id:String):void
Called after the implementing object has been created
and all properties specified on the tag have been assigned. | MessageAgent | |
Dispatches the asynchronous request and stores the responder to call
later. | AsyncRequest | ||
![]() | logout():void
Logs the MessageAgent out from its remote destination. | MessageAgent | |
![]() |
Sends the specified message to its destination. | AbstractProducer | |
![]() | setCredentials(username:String, password:String, charset:String = null):void
Sets the credentials that the MessageAgent uses to authenticate to
destinations. | MessageAgent | |
![]() | setRemoteCredentials(username:String, password:String, charset:String = null):void
Sets the remote credentials that will be passed through to the remote destination
for authenticating to secondary systems. | MessageAgent |
AsyncRequest | () | Constructor |
public function AsyncRequest()
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Constructs a new asynchronous request.
hasPendingRequestForMessage | () | method |
override public function hasPendingRequestForMessage(msg:IMessage):Boolean
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Returns true
if there are any pending requests for the passed in message.
Parameters
msg:IMessage — The message for which the existence of pending requests is checked.
|
Boolean — Returns true if there are any pending requests for the
passed in message; otherwise, returns false .
|
invoke | () | method |
public function invoke(msg:IMessage, responder:IResponder):void
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Dispatches the asynchronous request and stores the responder to call later.
Parameters
msg:IMessage — The message to be sent asynchronously.
| |
responder:IResponder — The responder to be called later.
|