On Wednesday, November 3, 2010 4:20:19 AM UTC, Robert Kluin wrote:Have
you look at the communications at all? I the javascript file is
included in the SDK. It is a little "heavy," but you could probably
use firebug (or chrome/safari dev console) to figure out what is going
on.
http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/tools/dev-channel-js.js






The SDK code uses a DevChannel implementation


goog.exportSymbol("goog.appengine.Channel", goog.appengine.DevChannel);


which is NOT doing COMET or similar, it simply polls a special page
(/dev) once a second or so.


But running against the real production AppEngine, /_ah/channel/jsapi
returns a 302 redirect to


http://talkgadget.google.com/talkgadget/channel.js


That code is minified and so not so easy to examine, but I expect the
Channel object implemented there does proper COMET style long queries -
you could watch what happens from the browser and see what's sent back
and forth, but looking at the (current) SDK may help you understand the
API calls but won't show you anything about how it's implemented in
production.


--
Tim

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to