[Telepathy] Account.Interface.ChannelRequests

Will Thompson will.thompson at collabora.co.uk
Mon Nov 24 05:08:07 PST 2008


Dafydd Harries wrote:
> Ar 24/11/2008 am 13:04, ysgrifennodd Alberto Mardegan:
>   
>> - Performance: The ChannelDispatcher object is not necessary, and the 
>> ChannelRequest is a good thing only in theory: with its Proceed() method and the 
>> need to connect to the Failed and Succeeded signals, I'm afraid it's making 
>> things slower.
>>     
>
> Signals don't need to be connected each time, you can just add a message filter
> that match on interface + signal name, which has a one-off setup cost.
>   

No, you can't, because then you get woken up about *every* channel
request, which is what the "Request as separate object" design is trying
to avoid.

-- 
Will


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/telepathy/attachments/20081124/6966adfe/attachment.pgp 


More information about the Telepathy mailing list