Paket | mx.rpc.remoting |
Klass | public class Operation |
Arv | Operation AbstractOperation AbstractInvoker EventDispatcher Object |
Underklasser | Operation |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
send()
method.
Egenskap | Definieras med | ||
---|---|---|---|
argumentNames : Array
An ordered list of the names of the arguments to pass to a method invocation. | Operation | ||
arguments : Object
The arguments to pass to the Operation when it is invoked. | AbstractOperation | ||
concurrency : String
The concurrency for this Operation. | Operation | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
lastResult : Object [skrivskyddad]
The result of the last invocation. | AbstractInvoker | ||
makeObjectsBindable : Boolean [åsidosätt]
When this value is true, anonymous objects returned are forced to bindable objects. | Operation | ||
name : String
The name of this Operation. | AbstractOperation | ||
operationManager : Function
This property is set usually by framework code which wants to modify the
behavior of a service invocation without modifying the way in which the
service is called externally. | AbstractInvoker | ||
properties : Object
This is a hook primarily for framework developers to register additional user
specified properties for your operation. | AbstractOperation | ||
resultElementType : Class
Like resultType, used to define the ActionScript class used by a given operation though
this property only applies to operations which return a multi-valued result (e.g. | AbstractInvoker | ||
resultType : Class
Specifies an optional return type for the operation. | AbstractInvoker | ||
service : AbstractService [skrivskyddad]
Provides convenient access to the service on which the Operation
is being invoked. | AbstractOperation | ||
showBusyCursor : Boolean
Whether this operation should show the busy cursor while it is executing. | Operation |
Metod | Definieras med | ||
---|---|---|---|
Creates a new Operation. | Operation | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | EventDispatcher | ||
[åsidosätt]
Cancels the last service invocation or an invokation with the specified ID. | Operation | ||
Sets the result property of the invoker to null. | AbstractInvoker | ||
Skickar en händelse till händelseflödet. | EventDispatcher | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | EventDispatcher | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | EventDispatcher | ||
[åsidosätt]
Executes the method. | Operation | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
This hook is exposed to update the lastResult property. | AbstractInvoker | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | EventDispatcher |
argumentNames | egenskap |
public var argumentNames:Array
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
An ordered list of the names of the arguments to pass to a method invocation. Since the arguments object is a hashmap with no guaranteed ordering, this array helps put everything together correctly. It will be set automatically by the MXML compiler, if necessary, when the Operation is used in tag form.
concurrency | egenskap |
concurrency:String
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The concurrency for this Operation. If it has not been explicitly set the setting from the RemoteObject will be used.
Implementering
public function get concurrency():String
public function set concurrency(value:String):void
makeObjectsBindable | egenskap |
makeObjectsBindable:Boolean
[åsidosätt] Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
When this value is true, anonymous objects returned are forced to bindable objects.
Implementering
override public function get makeObjectsBindable():Boolean
override public function set makeObjectsBindable(value:Boolean):void
showBusyCursor | egenskap |
showBusyCursor:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Whether this operation should show the busy cursor while it is executing. If it has not been explicitly set the setting from the RemoteObject will be used.
Implementering
public function get showBusyCursor():Boolean
public function set showBusyCursor(value:Boolean):void
Operation | () | Konstruktor |
public function Operation(remoteObject:AbstractService = null, name:String = null)
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Creates a new Operation. This is usually done directly automatically by the RemoteObject when an unknown operation has been accessed. It is not recommended that a developer use this constructor directly.
ParametrarremoteObject:AbstractService (default = null ) — The RemoteObject object defining the service.
| |
name:String (default = null ) — The name of the service.
|
cancel | () | metod |
override public function cancel(id:String = null):mx.rpc:AsyncToken
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Cancels the last service invocation or an invokation with the specified ID. Even though the network operation may still continue, no result or fault event is dispatched.
Parametrar
id:String (default = null ) — The messageId of the invocation to cancel. Optional. If omitted, the
last service invocation is canceled.
|
mx.rpc:AsyncToken — The AsyncToken associated with the call that is cancelled or null if no call was cancelled.
|
send | () | metod |
override public function send(... args):mx.rpc:AsyncToken
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Executes the method. Any arguments passed in are passed along as part of the method call. If there are no arguments passed, the arguments object is used as the source of parameters.
Parametrar
... args — Optional arguments passed in as part of the method call. If there
are no arguments passed, the arguments object is used as the source of
parameters.
|
mx.rpc:AsyncToken — AsyncToken object.
The same object is available in the result and
fault events from the token property.
|
Tue Jun 12 2018, 01:40 PM Z