mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Make rendezvous constants package-private.
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
package org.briarproject.bramble.api.rendezvous;
|
||||
|
||||
import static java.util.concurrent.TimeUnit.DAYS;
|
||||
import static java.util.concurrent.TimeUnit.MINUTES;
|
||||
|
||||
public interface RendezvousConstants {
|
||||
|
||||
/**
|
||||
* The current version of the rendezvous protocol.
|
||||
*/
|
||||
byte PROTOCOL_VERSION = 0;
|
||||
|
||||
/**
|
||||
* How long to try to rendezvous with a pending contact before giving up.
|
||||
*/
|
||||
long RENDEZVOUS_TIMEOUT_MS = DAYS.toMillis(2);
|
||||
|
||||
/**
|
||||
* How often to try to rendezvous with pending contacts.
|
||||
*/
|
||||
long POLLING_INTERVAL_MS = MINUTES.toMillis(1);
|
||||
|
||||
/**
|
||||
* Label for deriving the rendezvous key from the static master key.
|
||||
*/
|
||||
String RENDEZVOUS_KEY_LABEL =
|
||||
"org.briarproject.bramble.rendezvous/RENDEZVOUS_KEY";
|
||||
|
||||
/**
|
||||
* Label for deriving key material from the rendezvous key.
|
||||
*/
|
||||
String KEY_MATERIAL_LABEL =
|
||||
"org.briarproject.bramble.rendezvous/KEY_MATERIAL";
|
||||
}
|
||||
Reference in New Issue
Block a user