AdminFrame class

Frame encoder/decoder for mailbox management operations

Constructors

AdminFrame()

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

decodeACLList(List data) → List<ACLEntry>
Decode ACL entry list from JSON
decodeMailboxInfoList(List data) → List<MailboxInfo>
Decode mailbox info list from JSON
decodeRequest(Uint8List bytes) → MailboxMgmtRequest
Decode request from JSON bytes
decodeResponse(Uint8List bytes) → MailboxOperationResponse
Decode response from JSON bytes
encodeACLList(List<ACLEntry> entries) → List<Map<String, dynamic>>
Encode ACL entry list to JSON
encodeMailboxInfoList(List<MailboxInfo> mailboxes) → List<Map<String, dynamic>>
Encode mailbox info list to JSON
encodeRequest(MailboxMgmtRequest request) → Uint8List
Encode request to JSON bytes with length prefix
encodeResponse(MailboxOperationResponse response) → Uint8List
Encode response to JSON bytes