mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Unit tests and fixes for DatabaseComponent(Impl).
This commit is contained in:
@@ -51,6 +51,9 @@ public interface DatabaseComponent {
|
||||
*/
|
||||
ContactId addContact() throws DbException;
|
||||
|
||||
/** Adds a contact transport to the database. */
|
||||
void addContactTransport(ContactTransport ct) throws DbException;
|
||||
|
||||
/** Adds a locally generated group message to the database. */
|
||||
void addLocalGroupMessage(Message m) throws DbException;
|
||||
|
||||
@@ -130,6 +133,9 @@ public interface DatabaseComponent {
|
||||
Map<ContactId, TransportProperties> getRemoteProperties(TransportId t)
|
||||
throws DbException;
|
||||
|
||||
/** Returns all temporary secrets. */
|
||||
Collection<TemporarySecret> getSecrets() throws DbException;
|
||||
|
||||
/** Returns the set of groups to which the user subscribes. */
|
||||
Collection<Group> getSubscriptions() throws DbException;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user