[interfacekit] Re: Fwd: Preliminary registrar info

>>PS: Does anyone know how to get the port id and token from a 
BMessenger.
>>    For the BQuery implementation I used a pretty dirty hack. I guess, 
it
>>    must have to do something with the friend class _TRoster_.
>There isn't a way for us to access Be's BMessenger tokens AFAIK. Then 
again, 
>Erik knows way more about tokenspace stuff than I do. Ports for classes 
are 

Only because I pretty basically made it all up. ;P  Seriously though, 
TokenSpace.h (which is an app kit private header) defines the facility 
for creating and keeping track of BHandler tokens.  Currently, you can't 
do a reverse-lookup, but that would be trivial to add.  I'm curious 
though; why do you need this information?  Can't you just send the 
notification via the BMessenger itself?

e

Necessity is the plea for every infringement of human freedom. It is the 
argument of tyrants; it is the creed of slaves.
        -William Pitt, British prime-minister (1759-1806)


Other related posts: