« Return to Thread: Is there a Perpetual Listener or Server Push concept?

Re: Is there a Perpetual Listener or Server Push concept?

by Jim Hunter :: Rate this Message:

Reply to Author | View in Thread

If I was going to do this, I would set the timeout of the qooxdoo request object to something very high, then on the server side when you get the request from the client, don't respond until you heve something to send to the client. Then once that request is complete simply do it again.

Jim

On Thu, Jun 25, 2009 at 2:42 PM, aditya siram <aditya.siram@...> wrote:
Hi all,
I would like to set up continuous communication channel with the server. Right now I am trying to model this by having a button automatically requery the server with a dummy variable once it's request has been completed.

However because the Request object is 'dispose()'ed after a 'completed' event, there is a latency between the end of this request and the beginning of the next.

Is there a better way of doing this? If not is there some way for the server to push changes to the client?

-deech


------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 « Return to Thread: Is there a Perpetual Listener or Server Push concept?