• Simon Désaulniers's avatar
    ringaccount: introduce buddy presence on DHT · 55e892f1
    Simon Désaulniers authored
    This functionality of RingAccount exposes methods to "track" a buddy with it's
    ringid. The RingAccount keeps a map of BuddyInfo for all buddies to track. The
    BuddyInfo struct contains the last time the device has been seen online.
    RingAccount exposes the following methods:
    
    * ::trackBuddyPresence which will look for a buddy's DeviceAnnouncement on the
      DHT to deduce the buddy's presence. This will be done each 10 minutes
      (DeviceAnnouncement expiration time).
    * ::getTrackedBuddyPresence which returns the relevant content from the map of
      BuddyInfo, i.e. if each of the buddy is online or not.
    
    Change-Id: Ib149585c4835da88b0b0248b4a866770d35afe90
    55e892f1
Name
Last commit
Last update
MSVC Loading commit data...
bin Loading commit data...
contrib Loading commit data...
doc Loading commit data...
extras/tools Loading commit data...
m4 Loading commit data...
man Loading commit data...
ringtones Loading commit data...
src Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitreview Loading commit data...
AUTHORS Loading commit data...
CODING Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
astylerc Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
globals.mk Loading commit data...