Mailboxes and Routers#
Mailboxes are the foundation of message delivery in hyperactor. They coordinate typed ports, routing logic, forwarding, and delivery infrastructure for distributed actors.
This chapter introduces the components of the mailbox subsystem:
Ports: typed channels for local message delivery
MailboxSender: trait-based abstraction for message posting
Reconfigurable Senders: deferred wiring and dynamic configuration
MailboxServer: bridging incoming message streams into mailboxes
MailboxClient: buffering, forwarding, and failure reporting
Mailbox: port registration, binding, and routing
Delivery Semantics: envelopes, delivery errors, and failure handling
Multiplexers: port-level dispatch to local mailboxes
Routers: prefix-based routing to local or remote destinations