Add a `contactExists()` method to the `contactManager`
This requires exposing the `containsContact()` method to the `DatabaseComponent` and is needed for finding out efficiently whether a contact already exists.
Showing
- briar-api/src/org/briarproject/api/contact/ContactManager.java 9 additions, 0 deletions...-api/src/org/briarproject/api/contact/ContactManager.java
- briar-api/src/org/briarproject/api/db/DatabaseComponent.java 7 additions, 0 deletionsbriar-api/src/org/briarproject/api/db/DatabaseComponent.java
- briar-core/src/org/briarproject/contact/ContactManagerImpl.java 20 additions, 0 deletions...core/src/org/briarproject/contact/ContactManagerImpl.java
- briar-core/src/org/briarproject/db/DatabaseComponentImpl.java 8 additions, 0 deletions...r-core/src/org/briarproject/db/DatabaseComponentImpl.java
Loading
Please register or sign in to comment