uf:flockr
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| uf:flockr [2008/09/04 16:04] – elisag | uf:flockr [2009/11/30 16:49] (current) – *correct dharnie | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== Flockr ==== | ==== Flockr ==== | ||
| + | |||
| + | A flockr represents a user in the framework. A flockr has exactly one profile and can create and be registered to multiple flocks. In addition, a flockr can have multiple installed applications. A flockr is also the gateway that remote parties can use to get information about the user. | ||
| Each Flockr contains following info : | Each Flockr contains following info : | ||
| - | * [[Profile]] | + | * [[profiles|Profile]] |
| - | * list of its [[Flock]]s where it is registered. | + | * list of its [[Flock|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|flock]]s. |
| - | * predefined [[Flock]]s. | + | * predefined [[Flock|flock]]s ( e.g. buddyList). |
| - | * user-defined [[Flock]]s. | + | * 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. | ||
| - | A Flockr | + | A Flockr |
| - | The remote interface is the entity that gets exported to the ambient | + | Profile won't get exported to the ambient |
| - | * [[Profile]] | + | |
| - | * predefined | + | |
| - | [[Flockr]] actually should be able to decide who can see him. How? maybe 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 |
| - | + | ||
| - | The local interface receives the 3 types events | + | The local interface |
| + | |||
| + | 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]], | ||
| - | There should be a list of its friends [[Flockr]]s such that the [[Profile]] can be consulted offline. When a Flockr is connected for which there is a cached [[Profile]], | ||
| * xtof suggestion to implement this: | * xtof suggestion to implement this: | ||
| * Make " | * Make " | ||
| - | * This abstraction could be used for any list of [[Flockr]]s | + | * This abstraction could be used for any list of Flockrs |
| + | |||
| + | 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, | ||
| + | </ | ||
| - | ==== API ==== | + | * Remote Interface |
| + | < | ||
| + | joined(uid, | ||
| + | left(uid, | ||
| + | changedProfile(uid, | ||
| + | getProfile() | ||
| + | </ | ||
uf/flockr.1220537082.txt.gz · Last modified: (external edit)
