Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
Concurrency

Package | mx.rpc.mxml
Class | public final class Concurrency
Inheritance | Concurrency Object

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Concurrency is set via MXML based access to RPC services to indicate how to handle multiple calls to the same service. The default concurrency value is `multiple`.

Public Constants

| Constant | Defined By
--- | --- | ---
|  | LAST : String = last [static] Making a request causes the client to ignore a result or fault for any current outstanding request. | Concurrency
|  | MULTIPLE : String = multiple [static] Existing requests are not cancelled, and the developer is responsible for ensuring the consistency of returned data by carefully managing the event stream. | Concurrency
|  | SINGLE : String = single [static] Making only one request at a time is allowed on the method; additional requests made while a request is outstanding are immediately faulted on the client and are not sent to the server. | Concurrency

Constant Detail

LAST | Constant

`public static const LAST:String = last`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Making a request causes the client to ignore a result or fault for any current outstanding request. Only the result or fault for the most recent request will be dispatched on the client. This may simplify event handling in the client application, but care should be taken to only use this mode when results or faults for requests may be safely ignored.

MULTIPLE | Constant |

`public static const MULTIPLE:String = multiple`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Existing requests are not cancelled, and the developer is responsible for ensuring the consistency of returned data by carefully managing the event stream.

SINGLE | Constant |

`public static const SINGLE:String = single`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Making only one request at a time is allowed on the method; additional requests made while a request is outstanding are immediately faulted on the client and are not sent to the server.

Sun Mar 5 2017, 03:42 PM +11:00