mirror of
https://github.com/logos-messaging/specs.git
synced 2026-05-19 03:19:33 +00:00
rm state management
This commit is contained in:
parent
3c1125bddb
commit
198ad99bed
@ -18,7 +18,6 @@ editor: Logos Messaging Team
|
|||||||
* [Architectural position](#architectural-position)
|
* [Architectural position](#architectural-position)
|
||||||
* [IDL](#idl)
|
* [IDL](#idl)
|
||||||
* [Procedures](#procedures)
|
* [Procedures](#procedures)
|
||||||
* [State management](#state-management)
|
|
||||||
* [Outgoing message processing](#outgoing-message-processing)
|
* [Outgoing message processing](#outgoing-message-processing)
|
||||||
* [Incoming message processing](#incoming-message-processing)
|
* [Incoming message processing](#incoming-message-processing)
|
||||||
* [Retransmission](#retransmission)
|
* [Retransmission](#retransmission)
|
||||||
@ -97,15 +96,6 @@ A custom Interface Definition Language (IDL) in YAML is used, consistent with [M
|
|||||||
|
|
||||||
## Procedures
|
## Procedures
|
||||||
|
|
||||||
### State management
|
|
||||||
|
|
||||||
Each `ReliableChannel` MUST maintain internal state for [SDS](https://lip.logos.co/ift-ts/raw/sds.html), keyed by `channelId`. This state MAY be persisted within the SDS implementation layer and includes:
|
|
||||||
- A committed message log recording sent messages and their acknowledgement status.
|
|
||||||
- An outgoing buffer of unacknowledged message chunks pending confirmation.
|
|
||||||
- An incoming buffer for partially received segmented messages awaiting full reassembly.
|
|
||||||
|
|
||||||
The state MUST be persisted using the `persistence` backend specified in `SdsConfig`.
|
|
||||||
|
|
||||||
### Outgoing message processing
|
### Outgoing message processing
|
||||||
|
|
||||||
When `send` is called, the implementation MUST process `message` in the following order:
|
When `send` is called, the implementation MUST process `message` in the following order:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user