uf:flockr
                Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| uf:flockr [2008/09/04 15:22] – created elisag | uf:flockr [2009/11/30 16:49] (current) – *correct dharnie | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== Flockr ==== | ==== Flockr ==== | ||
| - | Each Flockr | + | A flockr represents a user in the framework. A flockr | 
| - | * [[Profile]] | + | |
| - | * list of its [[Flock]]s where it is registered. | + | |
| - | * list of its [[Flock]]s. | + | |
| - | * list of its friends ([[Flockr]]s references) such that the [[Profile]] | + | |
| + | Each Flockr contains following info : | ||
| + | * [[profiles|Profile]] | ||
| + | * list of its [[Flock|flock]]s where it is registered. | ||
| + | * Note: maybe it should be stored in the profile. | ||
| + | * list of its [[Flock|flock]]s. | ||
| + | * predefined [[Flock|flock]]s ( e.g. buddyList). | ||
| + | * user-defined [[Flock|flock]]s. | ||
| + | * list of [[Proximities]] that are registered for this Flockr. | ||
| + | * list of its [[Application|applications]]. | ||
| + | * a map of usernames to far refs to connected flockrs. | ||
| - | ==== API ==== | + | A Flockr has a local and remote interface. The remote interface is the entity that gets exported to the ambient. | 
| + | Profile won't get exported to the ambient but it has to proactively asked to the Flockr. This allows: 1) Remote Flockr does not need to ask the [[profiles|Profile]] again (if you rediscover the Flockr) if it didn't change and 2) allow the Flockr to decide who can actually see its [[profiles|Profile]]. | ||
| + | |||
| + | The remote interface receives 3 types events from the network (join, left and changeProfile) and notifies the local interface of the Flockr which notifies the necessary [[Proximities]] objects. | ||
| + | |||
| + | The local interface contains also receives the events on changes on the buddyList. | ||
| + | |||
| + | The buddyList is a list of its friends Flockrs. The editor for [[Flock|flock]]s will allow that the [[profiles|Profile]] can be consulted offline. When a Flockr is connected for which there is a cached [[profiles|Profile]], | ||
| + | |||
| + | * xtof suggestion to implement this: | ||
| + | * Make " | ||
| + | * This abstraction could be used for any list of Flockrs that need offline Profile visualization. Maybe useful also for applications. | ||
| + | |||
| + | Other Comments: | ||
| + | |||
| + | [[Flockr]] actually should be able to decide who can see him. How? maybe Profile? | ||
| + | |||
| + | ===== API ===== | ||
| + | |||
| + | * Local Interface | ||
| + | < | ||
| + | registerProximity(proximityObj) | ||
| + | friendAdded(uid, | ||
| + | friendRemoved(uid, | ||
| + | </ | ||
| + | |||
| + | * Remote Interface | ||
| + | < | ||
| + | joined(uid, | ||
| + | left(uid, | ||
| + | changedProfile(uid, | ||
| + | getProfile() | ||
| + | </ | ||
uf/flockr.1220534558.txt.gz · Last modified:  (external edit)
                
                