Packagemx.rpc.mxml
Classpublic final class Concurrency
InheritanceConcurrency Inheritance 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
 ConstantDefined 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
LASTConstant
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.

MULTIPLEConstant 
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.

SINGLEConstant 
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.