mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Store and exchange client minor versions.
These don't affect client visibility.
This commit is contained in:
@@ -22,6 +22,11 @@ public interface TransportPropertyManager {
|
||||
*/
|
||||
int MAJOR_VERSION = 0;
|
||||
|
||||
/**
|
||||
* The current minor version of the transport property client.
|
||||
*/
|
||||
int MINOR_VERSION = 0;
|
||||
|
||||
/**
|
||||
* Stores the given properties received while adding a contact - they will
|
||||
* be superseded by any properties synced from the contact.
|
||||
|
||||
@@ -25,7 +25,7 @@ public interface ClientVersioningManager {
|
||||
* Registers a client that will be advertised to contacts. This method
|
||||
* should be called before {@link LifecycleManager#startServices(String)}.
|
||||
*/
|
||||
void registerClient(ClientId clientId, int majorVersion);
|
||||
void registerClient(ClientId clientId, int majorVersion, int minorVersion);
|
||||
|
||||
/**
|
||||
* Registers a hook that will be called when the visibility of the given
|
||||
|
||||
Reference in New Issue
Block a user