[Telepathy] Uniqueness of objects

mikhail.zabaluev at nokia.com mikhail.zabaluev at nokia.com
Fri Oct 3 03:31:09 PDT 2008


Hi, 

>-----Original Message-----
>From: telepathy-bounces at lists.freedesktop.org 
>[mailto:telepathy-bounces at lists.freedesktop.org] On Behalf Of 
>ext Olli Salli
>Sent: Friday, October 03, 2008 1:12 PM
>To: telepathy at lists.freedesktop.org
>Subject: Re: [Telepathy] Uniqueness of objects
>
>Some wizardry certainly needs to be performed even inside TelepathyQt4
>to prevent using multiple Connection objects associated with the same
>remote connection - namely, not keeping the reference counter inside a
>single Connection object, but share it between Connections using a
>(bus uuid, remote conn service name) -> refcounter mapping.

Can you simply protect the constructor and create Connections only through the ConnectionManager?

Best regards,
  Misha


More information about the Telepathy mailing list