[interfacekit] Re: Fwd: Preliminary registrar info

>Good idea.  Can you take on documenting all this information?  I think 
>we should also document what the registrar's responsibilities are -- I 
>don't think there is a single place where all this is listed together.  
>I can do this if nobody else wants to.
For once, I will decline. Proto6 is taking far too long and I'd like to get 
it out the door as soon as humanly possible. I can, however, offer what I 
currently understand about the beast. Conceptually, the thing isn't much more 
than a wrapper for a few threads doing different tasks. AFAIK, it handles 
timers, the MIME database, system shutdown (including the shutdown window), 
and BRoster-related stuff like what apps are running, etc. It might also 
handle stuff for BMessageRunners, but I'm not sure about that one.

>It seems to me that the easiest way for this to happen is if 
>BApplication checks to see if it is the roster and names its port 
>accordingly.  In fact, this is probably the *only* way to do it, since 
>the port_id is private (to BLooper, which BApplication is a friend of) 
>and you can't rename a port after it's been created.
>
>e
Sounds good to me. I also know that BApplication's constructor also finds and 
contacts the registrar to notify it of another running application and putzes 
out if the thing isn't running. Anyway, back to the trenches for now... :-)

--DW


Other related posts: