uf:flockr
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
uf:flockr [2008/09/04 15:32] – elisag | uf:flockr [2008/09/05 11:47] – elisag | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== Flockr ==== | ==== Flockr ==== | ||
- | Each Flockr | + | Each Flockr |
* [[Profile]] | * [[Profile]] | ||
* list of its [[Flock]]s where it is registered. | * list of its [[Flock]]s where it is registered. | ||
* Note: maybe it should be stored in the profile. | * Note: maybe it should be stored in the profile. | ||
* list of its [[Flock]]s. | * list of its [[Flock]]s. | ||
- | * predefined [[Flock]]s. | + | * predefined [[Flock]]s |
* user-defined [[Flock]]s. | * user-defined [[Flock]]s. | ||
+ | * list of [[Proximities]] that are registered for this Flockr. | ||
- | Not sure where to place: list of its friends [[Flockr]]s such that the [[Profile]] can be consulted offline. When a Flockr | + | A Flockr |
+ | The remote interface | ||
+ | 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 [[Profile]] again (if you rediscover the Flockr) if it didn't change and 2) allow the Flockr to decide who can actually see its [[Profile]]. | ||
- | ==== API ==== | + | 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]]s will allow that the [[Profile]] can be consulted offline. When a Flockr is connected for which there is a cached [[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() | ||
+ | friendAdded(uid, | ||
+ | friendRemoved(uid, | ||
+ | </ | ||
+ | |||
+ | * Remote Interface | ||
+ | < | ||
+ | joined(uid, | ||
+ | left(uid, | ||
+ | changedProfile(uid, | ||
+ | getProfile() | ||
+ | </ |
uf/flockr.txt · Last modified: 2009/11/30 16:49 by dharnie