Re: Need to know about xml socket connection in OM

2014-11-27 Thread mahedi kaysar
Thanks Maxim for the hints. On 27 November 2014 at 16:55, Maxim Solodovnik wrote: > sendVarsToMessageWithClient is OM client method defined in openlaszlo code > you have to use such methods to display something to the client (since > client is written using openlaszlo) > > On Thu, Nov 27, 2014 a

Re: Need to know about xml socket connection in OM

2014-11-27 Thread Maxim Solodovnik
sendVarsToMessageWithClient is OM client method defined in openlaszlo code you have to use such methods to display something to the client (since client is written using openlaszlo) On Thu, Nov 27, 2014 at 10:52 PM, mahedi kaysar < mahedi.kay...@insight-centre.org> wrote: > Thanks for you reply.

Re: Need to know about xml socket connection in OM

2014-11-27 Thread mahedi kaysar
Thanks for you reply. If I am not wrong, you mean, I will send only 1 request to servlet for each client and servlet will send broadcast to every session or client whenever it gets some data update. And clients need not to send any request again. Can you please give me any hints how I invoke/call o

Re: Need to know about xml socket connection in OM

2014-11-27 Thread Maxim Solodovnik
you don't need websockets for that, simple method call will work as expected as well you don't need "bidirectional connection" from my last message: You can add additional servlet to OM. Send data to servlet using your application. Then in the servlet call openlaszlo methods with the data you hav

Re: Need to know about xml socket connection in OM

2014-11-27 Thread mahedi kaysar
Dear Maxim, I have implemented the scenario by making WebSocket Connection to other server from OM server for each client and broadcast the message to every Openlaszlo client in the room if something change in data. It is working well. But I don't know is there any good approach to do that. In red5

Re: Need to know about xml socket connection in OM

2014-11-18 Thread mahedi kaysar
Thanks maxim for your suggestion. On 18 November 2014 14:06, Maxim Solodovnik wrote: > To be fair I'm not sure how this can be implemented using openlaszlo only. > You can add additional servlet to OM. Send data to servlet using your > application. Then in the servlet call openlaszlo methods wit

Re: Need to know about xml socket connection in OM

2014-11-18 Thread Maxim Solodovnik
To be fair I'm not sure how this can be implemented using openlaszlo only. You can add additional servlet to OM. Send data to servlet using your application. Then in the servlet call openlaszlo methods with the data you have received WBR, Maxim (from mobile, sorry for the typos) On Nov 18, 2014 2:

Re: Need to know about xml socket connection in OM

2014-11-18 Thread mahedi kaysar
Thanks Maxim. From my application, I want to receive xml or json object from the other server (not OM) for each client entered in the conference room. If server changes some data then client should be notified immediately. That is the scenario. At first. I guess it can be implemented by web socket

Re: Need to know about xml socket connection in OM

2014-11-18 Thread Maxim Solodovnik
Could you please describe more detailed what are you trying to achive? WBR, Maxim (from mobile, sorry for the typos) On Nov 18, 2014 1:20 PM, "mahedi kaysar" wrote: > Dear Maxim. > I want to create XML socket connection. Is it possible to implement it in > OM? Or is there any other way the OM us

Need to know about xml socket connection in OM

2014-11-18 Thread mahedi kaysar
Dear Maxim. I want to create XML socket connection. Is it possible to implement it in OM? Or is there any other way the OM using for persistent network connection? Thanks. Mahedi