akwizgran created page: ForumApp

akwizgran
2015-04-14 10:00:08 +00:00
parent e8a2fc2cf9
commit 7193f66c1d

@@ -9,16 +9,16 @@ TransportApp has a single channel with the following random identifer:
**0: UPDATE** - The content is a [BDF](BDF) list with three elements: `transport_id` (string), `version` (int), and `properties` (dictionary). `transport_id` and `properties` are supplied by the transport plugin. `version` is incremented whenever the properties change.
### Validation
### Validity policy
* An UPDATE is valid if it is well-formed.
### Storage policy
* For each transport, the valid local message with the highest version is stored, any other versions are deleted.
* For each transport and each remote device, the valid remote message with the highest version is stored, any other versions are deleted.
* For each transport, the local message with the highest version is stored.
* For each transport and each remote device, the remote message with the highest version is stored.
### Sharing policy
* Valid local messages are shared with all remote devices.
* Local messages are shared with all remote devices.
* Remote messages are not shared with other remote devices.