royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Rovira <>
Subject Re: Proxy method calls with RemoteObject
Date Mon, 08 Oct 2018 16:52:00 GMT
Ok Alex, thanks, didn't know that you have this task to make it work RO. I
though you only try to compile it.
That's good to know. I'm trying right now to make a real world app and
since I don't have a micro structural IOC framework like Swiz, that was
that I use in Flex, I'm trying to structure and organize screens,
controllers, delegates, and so on, and I'm trying to put things as easy as
possible so I can refactor more later to something more suited for this
task, since I don't have time now to build a framework for this due to
reduced time lines.

If you get this RO proxy way to call backend methods and AsyncToken, that's
what I need to connect with MX RemoteObject in the same way we use to do.

I'll be waiting for your. progress there



El lun., 8 oct. 2018 a las 17:28, Alex Harui (<>)

> I believe I already said I am working on RemoteObject.
> The Flex compiler generates custom code for mx:RemoteObject.  The Royale
> Compiler currently does not.  I am working on it.
> Thanks,
> -Alex
> ´╗┐On 10/8/18, 3:13 AM, "Carlos Rovira" <> wrote:
>     Hi,
>     I was experimenting trying to get RemoteObject to proxy method calls.
>     so instead of doing
>     service.send("echo", [name_txt.text]);
>     be able to do:
>     service.echo(name_txt.text);
>     I tried with Proxy class
>     (org.apache.royale.utils.Proxy)
>     and implementing IEventDispatcher, but compiler throws error:
>     Call to a possibly undefined method echo through a reference with
> static
>     type RemoteObject.
>     It's possible to do something like this? what I'm missing?
>     This seems a little enhancement, but it would be cool if we get it in
> order
>     to be more near of the normal syntax we all have in our code bases.
>     thanks
>     --
>     Carlos Rovira

Carlos Rovira

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message