Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.rpc.mxml 
Concurrency 
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 Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
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

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.