| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../../override.css" type="text/css"><meta name="keywords" content="Operation,mx.rpc.remoting.Operation,argumentNames,concurrency,concurrency,convertParametersHandler,convertResultHandler,endpoint,makeObjectsBindable,makeObjectsBindable,showBusyCursor,showBusyCursor,source,cancel,getOperation,send,setRemoteCredentials,toString"><title>mx.rpc.remoting.Operation</title></head><body><script language="javascript" type="text/javascript" src="../../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../../help.js"></script><script language="javascript" type="text/javascript" src="../../../cookies.js"></script><script language="javascript" type="text/javascript"><!-- |
| asdocTitle = 'Operation - ApacheFlex API Reference'; |
| var baseRef = '../../../'; |
| window.onload = configPage; |
| --></script> |
| <script type="text/javascript"> |
| scrollToNameAnchor(); |
| </script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">Apache Flex 4.16.1 API Reference </td><td class="titleTableTopNav" align="right"><a href="../../../package-summary.html" onclick="loadClassListFrame('../../../all-classes.html')">All Packages</a> | <a href="../../../class-summary.html" onclick="loadClassListFrame('../../../all-classes.html')">All Classes</a> | <a href="../../../all-index-A.html" onclick="loadClassListFrame('../../../index-list.html')">Index</a> | <a id="framesLink1" href="../../../index.html?mx/rpc/remoting/Operation.html&mx/rpc/remoting/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../../images/logo.jpg" class="logoImage" alt="AdobeLogo" title="AdobeLogo"></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">Operation</td><td class="titleTableSubNav" id="subNav" align="right"><a href="#propertySummary">Properties</a> | <a href="#methodSummary">Methods</a> | <a href="#eventSummary">Events</a></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve"> |
| <!-- |
| |
| if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Operation"); titleBar_setSubNav(false,true,false,false,false,false,true,false,true,false,false ,false,false,false,false,false);} |
| --> |
| </script><div xmlns:fn="http://www.w3.org/2005/xpath-functions" class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">mx.rpc.remoting</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public class Operation</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">Operation <img src="../../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../../mx/rpc/AbstractOperation.html">AbstractOperation</a> <img src="../../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../../mx/rpc/AbstractInvoker.html">AbstractInvoker</a> <img src="../../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> flash.events.EventDispatcher</td></tr><tr><td class="classHeaderTableLabel">Subclasses</td><td> <a href="../../../mx/rpc/remoting/mxml/Operation.html">Operation</a></td></tr></table><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p></p><p></p> |
| 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 <code>send()</code> method. |
| |
| <p></p><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><div class="showHideLinks"><div id="hideInheritedProperty" class="hideInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(false,'Property');"><img class="showHideLinkImage" src="../../../images/expanded.gif"> Hide Inherited Public Properties</a></div><div id="showInheritedProperty" class="showInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(true,'Property');"><img class="showHideLinkImage" src="../../../images/collapsed.gif"> Show Inherited Public Properties</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProperty"><tr><th> </th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#argumentNames" class="signatureLink">argumentNames</a> : Array<div class="summaryTableDescription"> |
| An ordered list of the names of the arguments to pass to a method invocation.</div></td><td class="summaryTableOwnerCol">Operation</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/rpc/AbstractOperation.html#arguments" class="signatureLink">arguments</a> : Object<div class="summaryTableDescription"> |
| The arguments to pass to the Operation when it is invoked.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/rpc/AbstractOperation.html">AbstractOperation</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#concurrency" class="signatureLink">concurrency</a> : String<div class="summaryTableDescription"> |
| The concurrency for this Operation.</div></td><td class="summaryTableOwnerCol">Operation</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/rpc/AbstractInvoker.html#keepLastResult" class="signatureLink">keepLastResult</a> : Boolean<div class="summaryTableDescription"> Flag indicating whether the operation should keep its last call result for later access.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/rpc/AbstractInvoker.html">AbstractInvoker</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/rpc/AbstractInvoker.html#lastResult" class="signatureLink">lastResult</a> : Object<div class="summaryTableDescription">[read-only] |
| The result of the last invocation.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/rpc/AbstractInvoker.html">AbstractInvoker</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#makeObjectsBindable" class="signatureLink">makeObjectsBindable</a> : Boolean<div class="summaryTableDescription">[override] |
| When this value is true, anonymous objects returned are forced to bindable objects.</div></td><td class="summaryTableOwnerCol">Operation</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/rpc/AbstractOperation.html#name" class="signatureLink">name</a> : String<div class="summaryTableDescription"> |
| The name of this Operation.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/rpc/AbstractOperation.html">AbstractOperation</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/rpc/AbstractInvoker.html#operationManager" class="signatureLink">operationManager</a> : Function<div class="summaryTableDescription"> |
| 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.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/rpc/AbstractInvoker.html">AbstractInvoker</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/rpc/AbstractOperation.html#properties" class="signatureLink">properties</a> : Object<div class="summaryTableDescription"> |
| This is a hook primarily for framework developers to register additional user |
| specified properties for your operation.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/rpc/AbstractOperation.html">AbstractOperation</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/rpc/AbstractInvoker.html#resultElementType" class="signatureLink">resultElementType</a> : Class<div class="summaryTableDescription"> |
| 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.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/rpc/AbstractInvoker.html">AbstractInvoker</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/rpc/AbstractInvoker.html#resultType" class="signatureLink">resultType</a> : Class<div class="summaryTableDescription"> |
| Specifies an optional return type for the operation.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/rpc/AbstractInvoker.html">AbstractInvoker</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/rpc/AbstractOperation.html#service" class="signatureLink">service</a> : <a href="../../../mx/rpc/AbstractService.html">AbstractService</a><div class="summaryTableDescription">[read-only] |
| Provides convenient access to the service on which the Operation |
| is being invoked.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/rpc/AbstractOperation.html">AbstractOperation</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#showBusyCursor" class="signatureLink">showBusyCursor</a> : Boolean<div class="summaryTableDescription"> |
| Whether this operation should show the busy cursor while it is executing.</div></td><td class="summaryTableOwnerCol">Operation</td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><div class="showHideLinks"><div id="hideInheritedMethod" class="hideInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(false,'Method');"><img class="showHideLinkImage" src="../../../images/expanded.gif"> Hide Inherited Public Methods</a></div><div id="showInheritedMethod" class="showInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(true,'Method');"><img class="showHideLinkImage" src="../../../images/collapsed.gif"> Show Inherited Public Methods</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th> </th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#Operation()" class="signatureLink">Operation</a>(remoteObject:<a href="../../../mx/rpc/AbstractService.html">AbstractService</a> = null, name:String = null)</div><div class="summaryTableDescription"> |
| Creates a new Operation.</div></td><td class="summaryTableOwnerCol">Operation</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#cancel()" class="signatureLink">cancel</a>(id:String = null):<a href="../../../mx/rpc/AsyncToken.html">AsyncToken</a></div><div class="summaryTableDescription">[override] |
| |
| Cancels the last service invocation or an invokation with the specified ID.</div></td><td class="summaryTableOwnerCol">Operation</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/rpc/AbstractInvoker.html#clearResult()" class="signatureLink">clearResult</a>(fireBindingEvent:Boolean = true):void</div><div class="summaryTableDescription"> |
| Sets the result property of the invoker to null.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/rpc/AbstractInvoker.html">AbstractInvoker</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#send()" class="signatureLink">send</a>(... args):<a href="../../../mx/rpc/AsyncToken.html">AsyncToken</a></div><div class="summaryTableDescription">[override] |
| |
| Executes the method.</div></td><td class="summaryTableOwnerCol">Operation</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/rpc/AbstractInvoker.html#setResult()" class="signatureLink">setResult</a>(result:Object):void</div><div class="summaryTableDescription"> |
| This hook is exposed to update the lastResult property.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/rpc/AbstractInvoker.html">AbstractInvoker</a></td></tr></table></div><a name="eventSummary"></a><div class="summarySection"><div class="summaryTableTitle">Events</div><div class="showHideLinks"><div id="hideInheritedEvent" class="hideInheritedEvent"><a class="showHideLink" href="#eventSummary" onclick="javascript:setInheritedVisible(false,'Event');"><img class="showHideLinkImage" src="../../../images/expanded.gif"> Hide Inherited Events</a></div><div id="showInheritedEvent" class="showInheritedEvent"><a class="showHideLink" href="#eventSummary" onclick="javascript:setInheritedVisible(true,'Event');"><img class="showHideLinkImage" src="../../../images/collapsed.gif"> Show Inherited Events</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable hideInheritedEvent" id="summaryTableEvent"><tr><th> </th><th colspan="2">Event</th><th> Summary </th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class="hideInheritedEvent"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/rpc/AbstractOperation.html#event:fault" class="signatureLink">fault</a></div></td><td class="summaryTableDescription summaryTableCol">Dispatched when an Operation call fails.</td><td class="summaryTableOwnerCol"><a href="../../../mx/rpc/AbstractOperation.html">AbstractOperation</a></td></tr><tr class="hideInheritedEvent"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/rpc/AbstractOperation.html#event:result" class="signatureLink">result</a></div></td><td class="summaryTableDescription summaryTableCol">Dispatched when an Operation invocation successfully returns.</td><td class="summaryTableOwnerCol"><a href="../../../mx/rpc/AbstractOperation.html">AbstractOperation</a></td></tr></table></div><script language="javascript" type="text/javascript"><!-- |
| showHideInherited(); |
| --></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="argumentNames"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">argumentNames</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>public var argumentNames:Array</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| 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. |
| |
| </p></div><a name="propertyDetail"></a><a name="concurrency"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">concurrency</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>concurrency:String</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| The concurrency for this Operation. If it has not been explicitly set the setting from the RemoteObject |
| will be used. |
| |
| </p><br/><span class="label"> Implementation </span><br/><code> public function get concurrency():String</code><br/><code> public function set concurrency(value:String):void</code><br/></div><a name="propertyDetail"></a><a name="makeObjectsBindable"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">makeObjectsBindable</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>makeObjectsBindable:Boolean</code>[override] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| When this value is true, anonymous objects returned are forced to bindable objects. |
| |
| </p><br/><span class="label"> Implementation </span><br/><code> public function get makeObjectsBindable():Boolean</code><br/><code> public function set makeObjectsBindable(value:Boolean):void</code><br/></div><a name="propertyDetail"></a><a name="showBusyCursor"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">showBusyCursor</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>showBusyCursor:Boolean</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| 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. |
| |
| </p><br/><span class="label"> Implementation </span><br/><code> public function get showBusyCursor():Boolean</code><br/><code> public function set showBusyCursor(value:Boolean):void</code><br/></div><a name="constructorDetail"></a><div class="detailSectionHeader">Constructor Detail</div><a name="Operation()"></a><a name="Operation(mx.rpc.AbstractService,String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">Operation</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">Constructor</td></tr></table><div class="detailBody"><code>public function Operation(remoteObject:<a href="../../../mx/rpc/AbstractService.html">AbstractService</a> = null, name:String = null)</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p> |
| 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. |
| |
| </p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">remoteObject</span>:<a href="../../../mx/rpc/AbstractService.html">AbstractService</a></code> (default = <code>null</code>)<code></code> — The RemoteObject object defining the service. |
| </td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">name</span>:String</code> (default = <code>null</code>)<code></code> — The name of the service. |
| |
| </td></tr></table></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="cancel()"></a><a name="cancel(String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">cancel</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code>override public function cancel(id:String = null):<a href="../../../mx/rpc/AsyncToken.html">AsyncToken</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| |
| 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. |
| |
| </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">id</span>:String</code> (default = <code>null</code>)<code></code> — The messageId of the invocation to cancel. Optional. If omitted, the |
| last service invocation is canceled. |
| |
| </td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../mx/rpc/AsyncToken.html">AsyncToken</a></code> — The AsyncToken associated with the call that is cancelled or null if no call was cancelled. |
| |
| </td></tr></table></div><a name="send()"></a><a name="send(restParam)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">send</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>override public function send(... args):<a href="../../../mx/rpc/AsyncToken.html">AsyncToken</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| |
| 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. |
| </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code>... <span class="label">args</span></code> — 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. |
| </td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../mx/rpc/AsyncToken.html">AsyncToken</a></code> — AsyncToken object. |
| The same object is available in the <code>result</code> and |
| <code>fault</code> events from the <code>token</code> property. |
| |
| </td></tr></table></div><br/><br/><hr><br/><p></p><center class="copyright"><footer>The Apache Software Foundation</footer><br/>Wed Nov 15 2017, 09:50 AM +01:00 </center></div></body></html><!--The Apache Software Foundation<br/>Wed Nov 15 2017, 09:50 AM +01:00 --> |