mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-03-01 02:58:18 +01:00
akwizgran created page: TransportApp
@@ -4,19 +4,12 @@ TransportApp is an application layer protocol that uses [BSP] to synchronise inf
|
|||||||
|
|
||||||
TransportApp uses a single message type:
|
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.
|
**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.
|
||||||
|
|
||||||
The following transports have been defined:
|
|
||||||
|
|
||||||
* bt: Bluetooth RFCOMM
|
|
||||||
* lan: TCP over local area networks
|
|
||||||
* tor: Tor hidden services
|
|
||||||
* file: Removable storage devices
|
|
||||||
|
|
||||||
### Storage policy
|
### Storage policy
|
||||||
|
|
||||||
* The local 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 number for each transport is stored and 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
|
### Sharing policy
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user