Package | mx.rpc.remoting |
Class | public class Operation |
Inheritance | Operation ![]() ![]() ![]() ![]() |
Subclasses | Operation |
send()
method.
Property | Defined By | ||
---|---|---|---|
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 | |
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
![]() | lastResult : Object
[read-only]
The result of the last invocation.
| AbstractInvoker | |
makeObjectsBindable : Boolean
When this value is true, anonymous objects returned are forced to bindable objects.
| Operation | ||
![]() | name : String
The name of this Operation.
| AbstractOperation | |
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
![]() | service : AbstractService
[read-only]
Provides convenient access to the service on which the Operation
is being invoked.
| AbstractOperation |
Method | Defined By | ||
---|---|---|---|
Creates a new Operation.
| Operation | ||
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event.
| EventDispatcher | |
![]() |
Cancels the last service invocation or an invokation with the specified id.
| AbstractInvoker | |
![]() |
Sets the result property of the invoker to null.
| AbstractInvoker | |
![]() |
Dispatches an event into the event flow.
| EventDispatcher | |
![]() |
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event.
| EventDispatcher | |
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Removes a listener from the EventDispatcher object.
| EventDispatcher | |
Executes the method.
| Operation | ||
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
![]() |
Checks whether an event listener is registered with this EventDispatcher object or any of
its ancestors for the specified event type.
| EventDispatcher |
argumentNames | property |
public var argumentNames:Array
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.
makeObjectsBindable | property |
makeObjectsBindable:Boolean
[read-write] When this value is true, anonymous objects returned are forced to bindable objects.
public function get makeObjectsBindable():Boolean
public function set makeObjectsBindable(value:Boolean):void
Operation | () | Constructor |
public function Operation(remoteObject:AbstractService = null, name:String = null)
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.
ParametersremoteObject:AbstractService (default = null )
|
|
name:String (default = null )
|
send | () | method |
public override function send(... args):AsyncToken
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 |
AsyncToken — AsyncToken Call using the asynchronous completion token pattern.
The same object is available in the result and
fault events from the token property.
|