AccessHandler class

Mail Access Agent (MAA) - Client-side protocol methods

Provides static methods for clients to interact with MAA servers for message retrieval and IMAP-style flag operations.

Constructors

AccessHandler()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

claimMessage(P2PStream stream, PeerId ownerPeerId, String folderPath) → Future<RetrieveMessagesResponse>
Claim one message from another peer's claim mailbox (client-side). The response holds one message, or none when the mailbox is empty.
deleteMessages(P2PStream stream, List<String> messageIds) → Future<DeleteMessagesAck>
Delete messages immediately (client-side)
expunge(P2PStream stream, PeerId peerId, {String? folderPath}) → Future<ExpungeAck>
Expunge messages (client-side) - IMAP EXPUNGE
markDelivered(P2PStream stream, List<String> messageIds, {String? folderPath}) → Future<MarkDeliveredAck>
Mark messages as delivered (client-side) - sets \Seen flag
retrieveMessages(P2PStream stream, PeerId peerId, {String? folderPath, int? fromSequence, int? maxMessages, MessagePriority? minPriority}) → Future<RetrieveMessagesResponse>
Retrieve messages (client-side)
updateFlags(P2PStream stream, String messageId, {int addFlags = 0, int removeFlags = 0}) → Future<UpdateFlagsAck>
Update message flags (client-side) - IMAP STORE

Constants

protocolId → const String