Table of Contents

Class MailboxRestoreSettlement

Namespace
MailFathom.Application.Synchronization.Restore
Assembly
MailFathom.Application.dll

Records an operator's verdict on an append the restore issued and never got an answer to.

public sealed class MailboxRestoreSettlement
Inheritance
MailboxRestoreSettlement
Inherited Members

Remarks

The one act of this mode that only a person can perform. An APPEND whose answer never came back leaves a folder that may hold the copy and may not, and nothing the folder shows afterwards tells a copy MailFathom appended apart from one somebody else put there — so MailFathom refuses to guess, and an operator looks and says. Until they do, the account stays in Restoring.

It is a separate use case from the pass rather than a method on it because it has a caller with a principal behind it. The pass runs under the account's lease with nobody asking, and a permission check there would either have no principal to read or would be read from whichever request happened to open the scope. See ADR 0034.

Constructors

MailboxRestoreSettlement(IMailboxRestoreStore, OptimisticConcurrencyRetryPolicy, AccessAuthorization, TimeProvider)

Initializes a new instance of the MailboxRestoreSettlement class.

Methods

SettleAsync(MailAccountId, MailboxRestoreAppendId, bool, CancellationToken)

Records what an operator found in the folder the unanswered append was issued against.