This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uf:guanotes [2008/09/26 13:24] elisag |
uf:guanotes [2009/11/18 15:12] elisag |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Guanotes ====== | ||
- | ==== The concept==== | ||
- | |||
- | Guanotes application allows flockrs to post notes, called guanotes, to the ambient ( i.e any device available in the surroundings ranging from other flockr device to devices installed on public places such as KK). This is a concept similar to Stickies application in Mac but guanotes can hop from one device to another. | ||
- | |||
- | Flockrs can thus discover other flockrs guanotes, store them and exchange them later with other flockrs such that guanotes can be percolated through the entire Urbiflock. | ||
- | |||
- | Flockrs can also subscribe to a particular type of guanotes such that they are automatically notified whenever they meet a flockr carrying guanotes of that particular type. | ||
- | |||
- | Another idea is that flockrs can stop the percolation of guanotes. For example, if a flockr detects that a spam guanote or a guanote with unapropiate content, it could stop its propagation. | ||
- | |||
- | |||
- | ==== Design ==== | ||
- | |||
- | To implement Guanotes, we are going to reuse the concepts developed by [[http:// | ||
- | |||
- | |||
- | From TOTA, the interface for a [[Guanote]] may look like: | ||
- | |||
- | < | ||
- | def decidePropagation() -> boolean | ||
- | def doAction (); | ||
- | def changeTupleContent() -> tuple | ||
- | def decideStore () -> boolean | ||
- | </ | ||
- | |||
- | and the interface for the application itself: | ||
- | |||
- | < | ||
- | def subscribe (Tuple template, String reaction) | ||
- | -> subscription object where you can unsubscribe | ||
- | </ |