Hi Wordman,
Apologies, I just realised I didn't update the docs for this. The docs
are updated now and you can see them here:
http://qooxdoo.org/contrib/project/serverobjects/tutorial?&#server_example_
code_java
Basically, you need to do two things: (1) your ProxySessionTracker must be
registered as a "synchronised tracker" with ProxyManager, and (2) client B
must connect to the server to discover the new changes.
To do (1), you can either pass true to the fifth parameter of
ProxyManager.handleRequest, or if you're creating your own
ProxySessionTrackers just call ProxyManager.addSyncTracker(tracker).
To do (2), client B must connect to the server for some reason EG a
proxied method call, or you can enable the automatic polling by:
var manager = new com.zenesis.qx.remote.ProxyManager(ajaxUri + "/ajax");
manager.set({ pollServer: true, pollFrequency: 2000 });
Hope that helps
Regards
John
On 19/04/2013 17:55, "Wordman" <[email protected]> wrote:
>I'm using Qooxdoo Server Objects (QSO) to connect a server with multiple
>clients. I have the following situation:
>
>1) Client A connects to server.
>2) Client B connects to server.
>3) A particular object X on the server is proxied to both clients.
>4) Client A performs an action that changes object X property "foo".
>5) Server calls ProxyManager.changeProperty on the change to object X.
>6) The callback client A registered to see "changeFoo" gets triggered.
>7) The callback client B registered to see "changeFoo" DOES NOT GET
> triggered.
>
>>From the documentation, I'd expect both clients to get "changeFoo". Is
>QSO supposed to work like that? If so, any advice as to what I'm doing
>wrong?
>
>
>
>
>
>--
>View this message in context:
>http://qooxdoo.678.n2.nabble.com/Updating-multiple-clients-with-QSO-tp7583
>306.html
>Sent from the qooxdoo mailing list archive at Nabble.com.
>
>--------------------------------------------------------------------------
>----
>Precog is a next-generation analytics platform capable of advanced
>analytics on semi-structured data. The platform includes APIs for building
>apps and a phenomenal toolset for data science. Developers can use
>our toolset for easy data analysis & visualization. Get a free account!
>http://www2.precog.com/precogplatform/slashdotnewsletter
>_______________________________________________
>qooxdoo-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel