Skip to content

Commit f79bb9c

Browse files
committed
notes on simplification of layout.
1 parent 7e98505 commit f79bb9c

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

Protocol.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Contents
172172

173173
Contents
174174

175-
1. __N__: 64-bit integer value of items to request.
175+
1. __Request N__: 64-bit integer value of items to request.
176176

177177
```
178178
0 1 2 3
@@ -405,8 +405,26 @@ Upon sending a ERROR, the stream is terminated on the Responder.
405405

406406
1. REQUEST_N needs to return point in stream in some way. Or even a new header type REQUEST_N_POSITIONED, or POSITION header, e.g.
407407
* object (NEXT) counter
408-
1. Protocol instance
408+
1. Connection instance
409409
* Requester instance
410410
* Responder instance
411411
1. Exlicit METADATA header needed?
412412
* need metadata semantics
413+
1. Explore
414+
* Moving all Request headers into frame header (Frame Type = 16-bit?) as they should not compose with others and makes
415+
things more explicit.
416+
* SETUP Frame
417+
* REQUEST_RESPONSE Frame
418+
* REQUEST_FNF Frame
419+
* REQUEST_STREAM Frame
420+
* REQUEST_SUBSCRIPTION Frame
421+
* REQUEST_N Frame
422+
* CANCEL Frame
423+
* RESPONSE Frame
424+
* has chain of NEXTs, ERROR (must be terminal), etc.
425+
* only frame type with chains.
426+
* remove header type and bring BE flags byte into header type location. Keep length.
427+
* add __I__gnore flag to frame header to ignore frame types that are not understood.
428+
* remove COMPLETE and add C bit to NEXT (COMPLETE is a NEXT header with C bit set and no data)
429+
* remove ERROR and add R bit to NEXT (ERROR is a NEXT header with R bit set and optionally data)
430+
* keep extension header and add 0xF after BECR flags to extend to new types.

0 commit comments

Comments
 (0)