Development Team/Presence Service Removal: Difference between revisions

Tomeu (talk | contribs)
No edit summary
Tomeu (talk | contribs)
No edit summary
Line 5: Line 5:
     pass
     pass


Is fired when the properties contained in org.laptop.Telepathy.ActivityProperties become all non-None. We start tracking an ActivityProperties when a Buddy we track joins/shares an activity, and we know that via the ActivitiesChanged signal in the interface org.laptop.Telepathy.BuddyInfo.
* Used by: Shell to display activities in the neighborhood and friends views
 
* Present: Is fired when the properties contained in org.laptop.Telepathy.ActivityProperties become all non-None. We start tracking an ActivityProperties when a Buddy we track joins/shares an activity, and we know that via the ActivitiesChanged signal in the interface org.laptop.Telepathy.BuddyInfo.
 
* Future:


  @dbus.service.signal(PRESENCE_INTERFACE, signature="o")
  @dbus.service.signal(PRESENCE_INTERFACE, signature="o")
Line 11: Line 15:
     pass
     pass


Is fired when the properties contained in org.laptop.Telepathy.ActivityProperties stop being all non-None, and when the last buddy leaves the activity.
* Used by: Shell to display activities in the neighborhood and friends views


A buddy is known to have left an activity when disappears (see BuddyDisappeared) and when the MembersChanged signal in org.freedesktop.Telepathy.Channel.Interface.Group says so.
* Present: Is fired when the properties contained in org.laptop.Telepathy.ActivityProperties stop being all non-None, and when the last buddy leaves the activity. A buddy is known to have left an activity when disappears (see BuddyDisappeared) and when the MembersChanged signal in org.freedesktop.Telepathy.Channel.Interface.Group says so.
 
* Future:


  @dbus.service.signal(PRESENCE_INTERFACE, signature="o")
  @dbus.service.signal(PRESENCE_INTERFACE, signature="o")
Line 19: Line 25:
     pass
     pass


Is fired when the properties contained in org.laptop.Telepathy.BuddyInfo become all non-None. We start tracking a BuddyInfo when it appears as online in the signal PresenceUpdate of org.freedesktop.Telepathy.Connection.Interface.Presence (which is deprecated).
* Used by: Shell to display buddies in the neighborhood and friends views
 
* Present: Is fired when the properties contained in org.laptop.Telepathy.BuddyInfo become all non-None. We start tracking a BuddyInfo when it appears as online in the signal PresenceUpdate of org.freedesktop.Telepathy.Connection.Interface.Presence (which is deprecated).
 
* Future:


  @dbus.service.signal(PRESENCE_INTERFACE, signature="o")
  @dbus.service.signal(PRESENCE_INTERFACE, signature="o")
  def BuddyDisappeared(self, buddy):
  def BuddyDisappeared(self, buddy):


A buddy is known to have disappeared when PresenceUpdate notifies us it has gone offline.
* Used by: Shell to display buddies in the neighborhood and friends views
 
* Present: A buddy is known to have disappeared when PresenceUpdate notifies us it has gone offline.
 
* Future:


  @dbus.service.signal(PRESENCE_INTERFACE, signature="oos")
  @dbus.service.signal(PRESENCE_INTERFACE, signature="oos")
Line 30: Line 44:
     pass
     pass


Gets fired when a new channel that communicates with a room becomes ready.
* Used by: Shell to display a new invitation in the frame
 
* Present: Gets fired when a new channel that communicates with a room becomes ready.
 
* Future:


  @dbus.service.signal(PRESENCE_INTERFACE, signature="soos")
  @dbus.service.signal(PRESENCE_INTERFACE, signature="soos")
Line 36: Line 54:
     pass
     pass


Gets fired when a new channel that communicates with a contact is created.
* Used by:
 
* Present: Gets fired when a new channel that communicates with a contact is created.
 
* Future:


  @dbus.service.method(PRESENCE_INTERFACE, in_signature="",
  @dbus.service.method(PRESENCE_INTERFACE, in_signature="",
Line 42: Line 64:
  def GetActivities(self):
  def GetActivities(self):
     pass
     pass
* Used by:
* Present:
* Future:


  @dbus.service.method(PRESENCE_INTERFACE, in_signature="s",
  @dbus.service.method(PRESENCE_INTERFACE, in_signature="s",
Line 47: Line 75:
  def GetActivityById(self, actid):
  def GetActivityById(self, actid):
     pass
     pass
* Used by:
* Present:
* Future:


  @dbus.service.method(PRESENCE_INTERFACE, in_signature="",
  @dbus.service.method(PRESENCE_INTERFACE, in_signature="",
Line 52: Line 86:
  def GetBuddies(self):
  def GetBuddies(self):
     pass
     pass
* Used by:
* Present:
* Future:


  @dbus.service.method(PRESENCE_INTERFACE, in_signature="ay", out_signature="o",
  @dbus.service.method(PRESENCE_INTERFACE, in_signature="ay", out_signature="o",