protocol/mma/admin_protocol library

Mailbox Management Agent (MMA) Protocol definitions

Provides remote mailbox management capabilities including creation, ACL management, configuration updates, and deletion.

Renamed from mailbox_mgmt_protocol.dart for architectural consistency.

Classes

ACLEntry
ACL entry information
CreateMailboxRequest
Request to create a new mailbox
DeleteMailboxRequest
Request to delete a mailbox
GetMailboxInfoRequest
Request to get mailbox info
GrantAccessRequest
Request to grant access to a peer
ListACLRequest
Request to list ACL entries for a mailbox
ListMailboxesRequest
Request to list mailboxes
MailboxInfo
Mailbox information
MailboxMgmtRequest
Base class for all mailbox management requests
MailboxOperationResponse
Generic response for mailbox operations
QueryCapacityRequest
Request to query server capacity
RevokeAccessRequest
Request to revoke access from a peer
UpdateMailboxConfigRequest
Request to update mailbox configuration

Constants

adminProtocolId → const String
Protocol ID for mailbox management operations (MMA)

Functions

parseAddress(String addressStr, {MailboxType? type}) → MailboxAddress
Parse mailbox address from string format

Exceptions / Errors

InvalidMailboxConfig
Exception for invalid mailbox configuration
MailboxAlreadyExists
Exception for mailbox already exists
MailboxManagementError
Base exception for mailbox management errors
MailboxNotFound
Exception for mailbox not found
UnauthorizedMailboxOperation
Exception for unauthorized mailbox operations