Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
Operation

Package | mx.rpc.remoting.mxml
Class | public class Operation
Inheritance | Operation Operation AbstractOperation AbstractInvoker flash.events.EventDispatcher
Implements | IMXMLSupport

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The Operation used for RemoteObject when created in an MXML document.

Public Properties
Hide Inherited Public Properties
Show Inherited 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
|  | keepLastResult : Boolean Flag indicating whether the operation should keep its last call result for later access. | AbstractInvoker
|  | 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
|  | 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
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | cancel(id:String = null):AsyncToken [override] Cancels the last service invocation or an invokation with the specified ID. | Operation
|  | clearResult(fireBindingEvent:Boolean = true):void Sets the result property of the invoker to null. | AbstractInvoker
|  | send(... args):AsyncToken [override] Executes the method. | Operation
|  | setResult(result:Object):void This hook is exposed to update the lastResult property. | AbstractInvoker

Events
Hide Inherited Events
Show Inherited Events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | fault | Dispatched when an Operation call fails. | AbstractOperation
|  | result | Dispatched when an Operation invocation successfully returns. | AbstractOperation

Wed Nov 15 2017, 09:50 AM +01:00