This is an old revision of the document!


Profiles

  • Profiles: each Flockr has a Profile. There is a minimal set of properties that are present in each Profile (such that Proximities (e.g. a “doesProfileMatch” Proximity) can be defined based on these properties).
  • Changed events: when a Flockr modifies his Profile, a change event is propagated to the remote interfaces of all other Flockrs. In reaction to these events, all connected Flockrs propagate these events to the interested Proximities.
  • Caching: Each Flockr keeps a cached Profile of the other Flockrs such that the Profile can be consulted offline. When a Flockr is connected for which there is a cached Profile, he should propagate the necessary changed events to make sure that both the cached Profile and the Flocks of the other Flockrs are updated.

API

  • Profile:
  • Flockr - Remote Interface: profileChangedOf(flockrRef)
  • Flockr - Local Interface: getUpdatedProfile(flockrRef)
  • Proximity: profileChanged(profile, flockrRef)
  • CachedProfile: profileChanged(profile, flockrRef)
uf/profiles.1220607547.txt.gz · Last modified: 2009/02/27 15:20 by alombide
 
 
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki