Infinity Linden wrote: > lemme dig through my notes and see if i have more / better > documentation on using caps. > > yes. if the viewer is still as i remember it, we have an event queue > for the region you're connected to and for each adjacent region for > object updates from child cameras. (but... it's been close to a year > since i touched the client code... though the llmessage code is shared > between viewer and server.) > > On Wed, May 20, 2009 at 7:49 AM, Suzy Deffeyes <[email protected] > <mailto:[email protected]>> wrote: > > I'm attempting to understand how the event queue in the viewer > works, specifically, creating and registering new services. I'm > thankful for the documentation in llhttpnode.h, but I'm still > scratching my head a bit. > > In LLHTTPRegistrar::buildAllServices(), I see all the message/* > type nodes getting registered, as well as the trusted-message > one. I *thought* all one had to do to get something registered > was to have something like this: > > LLHTTPRegistration<LLMyNodeType> gHTTPServiceAlphaBeta("/alpha/beta"); > > So I expected (hoped?) to see the services defined in > llsdappservices.cpp in the call to buildAllServices....but i don't > see them in the list being registered. Is there something else > needed? Or some other mechanism being used? Are they added later? > > Also, is there a separate event queue opened with each child > region that the viewer is connected to? Or is there only one with > the region the agent is in? > Thanks > Suzy >
Enus has implemented rudimentary test code for child region events in pyogp. It MIGHT be useful to see how he does it since the pyogp code is so minimal compared to the GPL client. http://wiki.secondlife.com/wiki/Pyogp/Client_Lib http://wiki.secondlife.com/wiki/Pyogp/Client_Lib/The_Development_Sandbox Lawson _______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/SLDev Please read the policies before posting to keep unmoderated posting privileges
