akwizgran created page: TransportApp

akwizgran
2015-04-13 10:39:41 +00:00
parent 1026a63cdf
commit ea8d5fd011

@@ -1,10 +1,10 @@
MessagingApp is an application that uses [BSP] to synchronise private messages. MessagingApp is an application that uses [BSP](BSP) to synchronise private messages.
### Message types ### Message types
MessagingApp uses two message types: MessagingApp uses two message types:
**0: PRIVATE_MESSAGE** - The content is a [BDF] list with two elements: message body (string) and attachments (dictionary, may be null). Each attachment's key is its name, and the value is a list with two elements: MIME type (string), and message identifier (raw, exactly HASH_LEN bytes). **0: PRIVATE_MESSAGE** - The content is a [BDF](BDF) list with two elements: message body (string) and attachments (dictionary, may be null). The key for each attachment is its name, and the value is a list with two elements: MIME type (string), and message identifier (raw, exactly HASH_LEN bytes).
**1: ATTACHMENT** - The content is raw data. **1: ATTACHMENT** - The content is raw data.
@@ -17,6 +17,7 @@ MessagingApp uses two message types:
* All local messages are stored * All local messages are stored
* All remote messages are stored * All remote messages are stored
* Messages of type ATTACHMENT that are not referenced are garbage-collected
### Sharing policy ### Sharing policy