[Telepathy] TpHandler

Andre Moreira Magalhaes andre.magalhaes at collabora.co.uk
Wed Nov 25 18:38:13 PST 2009


Danielle Madeley wrote:
> On Tue, 2009-11-24 at 12:31 +0000, Simon McVittie wrote:
>   
>> On Tue, 24 Nov 2009 at 10:40:00 +1100, Danielle Madeley wrote:
>>     
>>> It might be
>>> possible to have a "close-channels-on-dispose" property that can be set
>>> to FALSE, combined with a tp_handler_track_channel() method call so that
>>> a temporary Handler can pass a channel off to the real Handler, but in
>>> general things will work correctly.
>>>       
>> Please look at telepathy-qt4, whose Tp::AbstractClientHandler class implements
>> telepathy-spec without its users having to jump through hoops, before going
>> further with this class. We've designed many of the subtleties once already,
>> there's no need to do it all again :-)
>>     
>
> So there doesn't seem to be a lot of code here. What am I looking at in
> particular?
>   
You may want to check ClientRegistrar/AbstractClient*/MethodInvocationContext classes. Those classes handle registration of clients (handlers, observers, approvers)


BR

Andrunko



More information about the telepathy mailing list