You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by al...@apache.org on 2018/08/10 12:01:17 UTC

[royale-asjs] branch feature/MXRoyale updated: Update RemoteObject.as

This is an automated email from the ASF dual-hosted git repository.

alinakazi pushed a commit to branch feature/MXRoyale
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/feature/MXRoyale by this push:
     new a64fb46  Update RemoteObject.as
a64fb46 is described below

commit a64fb46f9695f6506400d41162254795da9b7883
Author: alinakazi <AL...@GMAIL.COM>
AuthorDate: Fri Aug 10 17:01:15 2018 +0500

    Update RemoteObject.as
---
 .../main/royale/mx/rpc/remoting/RemoteObject.as    | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/remoting/RemoteObject.as b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/remoting/RemoteObject.as
index cf6a9b0..34b2d22 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/remoting/RemoteObject.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/remoting/RemoteObject.as
@@ -32,6 +32,31 @@ import mx.rpc.mxml.Concurrency;
 
 use namespace mx_internal;
 */
+
+/**
+ * The result event is dispatched when a service call successfully returns and
+ * isn't handled by the Operation itself.
+ * @eventType mx.rpc.events.ResultEvent.RESULT 
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Event(name="result", type="mx.rpc.events.ResultEvent")]
+
+/**
+ * The fault event is dispatched when a service call fails and isn't handled by
+ * the Operation itself.
+ * @eventType mx.rpc.events.FaultEvent.FAULT 
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Event(name="fault", type="mx.rpc.events.FaultEvent")]
+
 /**
  * The RemoteObject class gives you access to classes on a remote application server.
  *