design: Better explain METADAPT conversion of stream-oriented protocols
This commit is contained in:
parent
1bc804190e
commit
b6fd298ed9
@ -136,7 +136,8 @@ that persists for the duration of the connection. All transactions are
|
|||||||
multiplexed onto this single stream. Each MMB contains a 12-octet long header,
|
multiplexed onto this single stream. Each MMB contains a 12-octet long header,
|
||||||
with the transaction ID, then the method, and then the payload size (in octets).
|
with the transaction ID, then the method, and then the payload size (in octets).
|
||||||
The transaction ID is encoded as an I64, and the method and payload size are
|
The transaction ID is encoded as an I64, and the method and payload size are
|
||||||
both encoded as U16s. The remainder of the message is the payload.
|
both encoded as U16s. The remainder of the message is the payload. Since each
|
||||||
|
MMB is self-describing, they are sent sequentially with no gaps in-between them.
|
||||||
|
|
||||||
Transactions "open" when the first message with a given transaction ID is sent.
|
Transactions "open" when the first message with a given transaction ID is sent.
|
||||||
They "close" when a closing message is sent by either side. A closing message
|
They "close" when a closing message is sent by either side. A closing message
|
||||||