Package | mx.rpc.remoting.mxml |
Class | public class Operation |
Inheritance | Operation Operation AbstractOperation AbstractInvoker EventDispatcher Object |
Implements | IMXMLSupport |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Public Properties
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 | ||
concurrency : String
The concurrency for this Operation. | Operation | ||
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 [override]
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 | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
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 [read-only]
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 |
Public Methods
Method | Defined By | ||
---|---|---|---|
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 | ||
[override]
Cancels the last service invocation or an invokation with the specified ID. | Operation | ||
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 | ||
[override]
Executes the method. | Operation | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
This hook is exposed to update the lastResult property. | AbstractInvoker | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | 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 |
Events
Event | Summary | Defined By | ||
---|---|---|---|---|
[broadcast event] Dispatched when the Flash Player or AIR application gains operating system focus and becomes active. | EventDispatcher | |||
[broadcast event] Dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive. | EventDispatcher | |||
Dispatched when an Operation call fails. | AbstractOperation | |||
Dispatched when an Operation invocation successfully returns. | AbstractOperation |
Mon Nov 28 2011, 06:48 AM -08:00