Expand description
Akka protocol data units.
Every byte that crosses an association is one of these PDUs:
Associate— handshake, initiated by the connecting side.Disassociate— graceful or quarantine teardown.Heartbeat— liveness ping when the writer is otherwise idle.Payload— a user / systemRemoteEnvelope.Ack— sliding-window acknowledgement.
Wire format: bincode-serialized AkkaPdu framed by the transport
(length-prefix u32 big-endian).
Structs§
- AckInfo
- Sliding-window ack.
cumulative_ackis the highestseq_nowe have successfully delivered;nacksis the set of explicitly missing seq numbers below that watermark which the sender should resend. - Associate
Info - Carried in the initial
AssociatePDU. The receiving side validates the cookie (if any) and usesorigin+uidto identify the peer.
Enums§
- AkkaPdu
- One frame on the wire.
- Disassociate
Reason - Why a peer is disassociating.
Quarantinedis permanent until the quarantine window expires.
Constants§
- PROTOCOL_
VERSION - Wire protocol version. Bump only on backward-incompatible changes.