On Wed, Apr 22, 2009 at 4:26 PM, thron7 <[email protected]> wrote: > > > Alexei Vinidiktov wrote: >> Hi Fabian, >> >> Thanks for your reply. >> >> The problem isn't manifesting any more. I haven't done anything for it >> to go away but I'm glad it has. >> >> On a related note, should each remote call use a separate >> qx.io.remote.Rpc variable, or can one be declared for the whole class >> and be reused? >> >> In the code that I posted in my first email I used a separate >> qx.io.remote.Rpc variable for each function (each listener has its own >> variable), but I've tried using just one such variable and it worked >> fine. >> >> I was wondering if reusing one variable for different remote calls >> could cause any conflicts and should be avoided. >> > > Request objects should only be used for a single request, so make sure > to instantiate them fresh for each I/O request. > > Thomas >
Thanks, Thomas. [snip] -- Alexei Vinidiktov ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
