Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
An Operation used specifically by RemoteObjects. An Operation is an individual method on a service.
An Operation can be called either by invoking the
function of the same name on the service or by accessing the Operation as a property on the service and
calling the
send()
method.
public var argumentNames:Array
Language Version : | ActionScript 3.0 |
Runtime Versions : | 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:String
Language Version : | ActionScript 3.0 |
Runtime Versions : | 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.
Implementation public function get concurrency():String
public function set concurrency(value:String):void
makeObjectsBindable:Boolean
[override]
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
When this value is true, anonymous objects returned are forced to bindable objects.
Implementation public function get makeObjectsBindable():Boolean
public function set makeObjectsBindable(value:Boolean):void
showBusyCursor:Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | 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.
Implementation public function get showBusyCursor():Boolean
public function set showBusyCursor(value:Boolean):void
public function Operation(remoteObject:AbstractService = null, name:String = null)
Language Version : | ActionScript 3.0 |
Runtime Versions : | 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.
Parameters | remoteObject:AbstractService (default = null ) — The RemoteObject object defining the service.
|
|
| name:String (default = null ) — The name of the service.
|
override public function cancel(id:String = null):AsyncToken
Language Version : | ActionScript 3.0 |
Runtime Versions : | 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.
Parameters
| id:String (default = null ) — The messageId of the invocation to cancel. Optional. If omitted, the
last service invocation is canceled.
|
Returns | AsyncToken — The AsyncToken associated with the call that is cancelled or null if no call was cancelled.
|
override public function send(... args):AsyncToken
Language Version : | ActionScript 3.0 |
Runtime Versions : | 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.
Parameters
| ... 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.
|
Returns | AsyncToken — AsyncToken object.
The same object is available in the result and
fault events from the token property.
|
Mon Feb 18 2013, 01:33 PM +11:00