[Bug 27107] activity/application presence
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Mar 24 12:57:56 CET 2010
http://bugs.freedesktop.org/show_bug.cgi?id=27107
--- Comment #4 from Tomeu Vizoso <tomeu at sugarlabs.org> 2010-03-24 04:57:55 PST ---
Follow some ideas about an API for these use cases:
==== Main scenario ====
When the user activates the "Share with everybody" menu item in Abiword,
Abiword creates a DbusTube channel, then calls:
Connection.Interface.Applications.AdvertiseApplication (o: Channel, a{sv}:
Properties) → nothing
The Empathy clients of each Collabora employee online in that moment will
receive the signal:
Connection.Interface.Applications.NewApplications (a(oa{sv}): Applications)
Applications — a(oa{sv}) (Channel_Details_List)
Empathy will display next to Sumana's avatar the title of the Abiword document,
it may generate a notification as well.
When a colleague clicks on the representation of the shared document, Empathy
will call Connection.CreateChannel passing as Requested_Properties the
properties from Channel_Details_List. This will ultimately cause the channel
dispatcher to activate Abiword passing it the new channel.
==== Variant 1 ====
When Empathy becomes online, it will want to display the shared applications of
each contact. For that, it will call the following method just after listening
for the NewApplications signal:
Connection.Interface.Applications.GetApplications (au: Handles) → a(oa{sv}):
Applications
Applications — a(oa{sv}) (Channel_Details_List)
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list