From feddc25f5d5d282a292838210a1dbee128f1ae88 Mon Sep 17 00:00:00 2001 From: akwizgran Date: Mon, 13 Apr 2015 10:20:32 +0000 Subject: [PATCH] akwizgran created page: TransportApp --- TransportApp.markdown | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/TransportApp.markdown b/TransportApp.markdown index 74a3aa6..23892e8 100644 --- a/TransportApp.markdown +++ b/TransportApp.markdown @@ -4,19 +4,12 @@ TransportApp is an application layer protocol that uses [BSP] to synchronise inf TransportApp uses a single message type: -**0: PROPERTIES** - The content consists of a [BDF] list. The first element is a string identifying the transport. The second element is an int identifying the version, which is incremented whenever the transport properties change. The third element is a dictionary containing the transport properties. - -The following transports have been defined: - -* bt: Bluetooth RFCOMM -* lan: TCP over local area networks -* tor: Tor hidden services -* file: Removable storage devices +**0: PROPERTIES** - The content is a [BDF] list with three elements: transport identifier (string), version (int), and transport properties (dictionary). The identifier and properties are supplied by the transport plugin. The version is incremented whenever the properties change. ### Storage policy -* The local message with the highest version number for each transport is stored and other versions are deleted -* For each remote device, the remote message with the highest version number for each transport is stored and other versions are deleted +* The local message with the highest version for each transport is stored and any other versions are deleted +* For each remote device, the remote message with the highest version for each transport is stored and any other versions are deleted ### Sharing policy