[Telepathy] Proposed MC api

Naba Kumar naba.kumar at nokia.com
Tue May 29 04:06:38 PDT 2007


ext Xavier Claessens wrote:
> On lun, 2007-05-28 at 13:35 +0300, Naba Kumar wrote:
>> Signals
>> -------
>> * AccountStatusChanged(u:status, u:presence, u:reason, s:account)
>>
>> Emitted when account status changes. Both connection and presence
>> status.
> 
> Needs the presence message too?
> 
Makes sense.

>> * StatusActual(u:conn_status, u:presence)
> What does it do? Seems to be the same as AccountStatusChanged...
> 
No. AccountStatusChanged is per account status, while StatusActual is 
the aggregate status, calculated based on some aggregation rule. The 
rule for conn_status is that:
   * if all accounts are disconnected, status is disconnected.
   * if any account is connecting, status is connecting.
   * if at least one account connected and rest not connecting, status 
is connected.

The rule for presence is simple. It is the highest availability presence.

> 
> 
>> * PresenceStatusRequested(u:presence)
>>
>> Emitted when requested presence changes.
>>
>> * PresenceStatusActual(u:presence)
>>
>> Emitted when actual presence changes.
>>
> 
> Needs the presence message too.
> 
Makes sense.

Regards,
-Naba


More information about the Telepathy mailing list