Carlos,  why do you need your customer’s approval to commit fixes for 
RemoteObject?  The sooner you can commit those changes, the better it will be 
for the community, IMO.

-Alex

From: Carlos Rovira <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Thursday, January 17, 2019 at 7:48 AM
To: "[email protected]" <[email protected]>
Subject: Re: BlazeDS ChanelSet login convert to Royale

Hi Radu,

we'll do at some time, but that would be when our client want to show it into 
public, so this could be not soon...As he give us green flag, hope to share it 
since I think it's becoming very cool Apache Royale App :)

El jue., 17 ene. 2019 a las 16:17, radu birsan 
(<[email protected]<mailto:[email protected]>>) escribió:
Hi Carlos,

  Thank you for your effort.  Having a complex AMF application ported to Royal 
would encourage us to start porting our app.
  Hope you can share a sample of the finished product.

Thank you,
Radu

On Thu, Jan 17, 2019 at 4:51 PM Carlos Rovira 
<[email protected]<mailto:[email protected]>> wrote:
Hi Radu,

this is actually working in Royale. Being said that We (Greg and I) have some 
fixes for RemoteObject that still didn't put on Apache Royale. Will upload soon 
as we end our migration (hopefully 1-2 weeks from now). But you can start 
trying a simple example.

I recomend you to create a try the following test app :

Java part:
https://github.com/apache/royale-asjs/tree/develop/examples/amf/SampleAmfWebApp<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Ftree%2Fdevelop%2Fexamples%2Famf%2FSampleAmfWebApp&data=02%7C01%7Caharui%40adobe.com%7C26ecd56fa26246019d4a08d67c932b84%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636833368896446789&sdata=5CRYHcET0cDH1kSVoHTk703wKrQWZfqS4A3hiIvoPOE%3D&reserved=0>

Royale client:
https://github.com/apache/royale-asjs/tree/develop/examples/mxroyale/RemoteObjectAMFTest<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Ftree%2Fdevelop%2Fexamples%2Fmxroyale%2FRemoteObjectAMFTest&data=02%7C01%7Caharui%40adobe.com%7C26ecd56fa26246019d4a08d67c932b84%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636833368896446789&sdata=S2p%2BKnPxr%2BE5aSjuKbfTe2sVytn%2Ff73Zor46pMKy2ak%3D&reserved=0>

and check this:
https://github.com/apache/royale-asjs/wiki/Apache-Royale-communication-with-AMF-and-RemoteObject<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FApache-Royale-communication-with-AMF-and-RemoteObject&data=02%7C01%7Caharui%40adobe.com%7C26ecd56fa26246019d4a08d67c932b84%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636833368896446789&sdata=tKqP1c5mri1oH8i9BR9ZAAxnoDSANs%2F%2BDkM7UoqOxgY%3D&reserved=0>

things like turn enable-small-messages to false are very important to have 
success

Just let you know that we are migrating a flex application using Jewel and MX 
RemoteObject and we are receiving/sending very complex graphs with AMF 
successfully.
As we get some free time (hopefully 2-3 weeks from now), Greg had in mind to 
complete RemoteObject implementation with enable-small-messages support too.

thanks


El jue., 17 ene. 2019 a las 13:08, radu birsan 
(<[email protected]<mailto:[email protected]>>) escribió:
Hello,

   I have a simple flex login module that uses mx:ChannelSet. Any idea on how 
to make this work with Roylale js.


<?xml version="1.0" encoding="utf-8"?>

<mx:Application 
xmlns:fx="http://ns.adobe.com/mxml/2009<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C26ecd56fa26246019d4a08d67c932b84%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636833368896446789&sdata=7i9gA%2B9InPufIPQrDwwVqYaYqdEWeGMbQ2VurI4IM0w%3D&reserved=0>"

                          
xmlns:mx="library://ns.adobe.com/flex/mx<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fflex%2Fmx&data=02%7C01%7Caharui%40adobe.com%7C26ecd56fa26246019d4a08d67c932b84%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636833368896446789&sdata=zWx7Fv5qT20D3DE8VkX%2FQiIck26OwX67LvlhYaWL42k%3D&reserved=0>"
  creationComplete="main()">

    <fx:Script>

           <![CDATA[

                   import mx.messaging.ChannelSet;

                   import mx.messaging.channels.AMFChannel;

                   import mx.messaging.channels.StreamingAMFChannel;

                   import mx.messaging.messages.CommandMessage;

                   import mx.rpc.AsyncResponder;

                   import mx.rpc.AsyncToken;

                   import mx.rpc.events.FaultEvent;

                   import mx.rpc.events.ResultEvent;

                   public var cs:ChannelSet=null;

                   private var amfChannel:AMFChannel;

                   public var serverSTUB:String = 
"http://voip-manager.spherecom.com:9080<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvoip-manager.spherecom.com%3A9080&data=02%7C01%7Caharui%40adobe.com%7C26ecd56fa26246019d4a08d67c932b84%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636833368896446789&sdata=%2BZDM85dAAz2CdUQPeWoE%2B3arNWvixCXXm%2ByC%2BZOo594%3D&reserved=0>"



                   public function main():void

                   {

                          cs = new ChannelSet();

                          amfChannel = new 
AMFChannel("my-longpolling-amf",serverSTUB + "/RiaService" + 
"/messagebroker/amflongpolling");

                          cs.addChannel(amfChannel);

                   }



                   public function checkAPIVersion(event:ResultEvent = null, 
token:Object = null):void

                   {

                          but.label = "checkAPIVersion Success";

                   }



                   private function handleLoginFault(event:FaultEvent = null, 
token:Object = null):void

                   {

                          but.label = "Fault";

                   }



                   protected function login(event:MouseEvent=null):void

                   {

                          var token:AsyncToken = 
cs.login('rbirsan'.toUpperCase(), "ThisISWork?");

                          token.addResponder(    new 
AsyncResponder(checkAPIVersion, handleLoginFault));

                   }







           ]]>

    </fx:Script>

    <mx:Button label="Login!" id="but" width="200" click="login(event)" />

</mx:Application>

Thank you,
Radu


--
Carlos Rovira
http://about.me/carlosrovira<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C26ecd56fa26246019d4a08d67c932b84%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636833368896446789&sdata=zTA4%2B0IcIqQ1Q5XZPg5VzkP%2Fqp%2B%2F9%2B%2FXNsc3jVXb3%2F8%3D&reserved=0>



--
Carlos Rovira
http://about.me/carlosrovira<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C26ecd56fa26246019d4a08d67c932b84%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636833368896446789&sdata=zTA4%2B0IcIqQ1Q5XZPg5VzkP%2Fqp%2B%2F9%2B%2FXNsc3jVXb3%2F8%3D&reserved=0>

Reply via email to