[bramble] add method for getting pending contact state

This commit is contained in:
Torsten Grote
2019-10-15 14:46:37 -03:00
parent 75fcd28071
commit 4bf8d4c0e7
2 changed files with 10 additions and 0 deletions

View File

@@ -141,6 +141,11 @@ public interface ContactManager {
Collection<Pair<PendingContact, PendingContactState>> getPendingContacts()
throws DbException;
/**
* Returns the state of the given {@link PendingContact}.
*/
PendingContactState getPendingContactState(PendingContactId p);
/**
* Removes a {@link PendingContact}.
*/