Add getMailboxStatus method to MailboxManager

This commit is contained in:
Torsten Grote
2022-02-17 13:22:50 -03:00
parent 65e7bcb94e
commit 653b744a02
2 changed files with 11 additions and 0 deletions

View File

@@ -12,6 +12,11 @@ public interface MailboxManager {
*/
boolean isPaired(Transaction txn) throws DbException;
/**
* @return the current status of the mailbox.
*/
MailboxStatus getMailboxStatus(Transaction txn) throws DbException;
/**
* Returns the currently running pairing task,
* or null if no pairing task is running.