Update Frames authored by Nicolas Pope's avatar Nicolas Pope
...@@ -24,7 +24,7 @@ Hence the following is true: ...@@ -24,7 +24,7 @@ Hence the following is true:
Hence the following is true: Hence the following is true:
* Both sending and receiving states must be separate (for each frame) * Both sending and receiving states must be separate (for each frame)
* Received changes are applied as patches or changes to sending state when new frame is constructed. * Received changes are applied as patches or changes to receiving state when new frame is constructed.
* Flushing a frame applies the changes to sending state in addition to transmitting * Flushing a frame applies the changes to sending state in addition to transmitting
Are states or change lists timestamped? Seems unreliable as a way to stay synced. Another option is to flag changes as being forwarded already and therefore not subject to a secondary transmission. The cycle being: 1) flush change to local send state and transmit. 2) Receive change and mark as *foreign* into received state. 3) Take these *foreign* changes into a new frame. 4) Transmit new frame including local and *foreign* changes. 5) Receive *foreign* changes but now unmark as changed and don't includes as changes in new frames. Are states or change lists timestamped? Seems unreliable as a way to stay synced. Another option is to flag changes as being forwarded already and therefore not subject to a secondary transmission. The cycle being: 1) flush change to local send state and transmit. 2) Receive change and mark as *foreign* into received state. 3) Take these *foreign* changes into a new frame. 4) Transmit new frame including local and *foreign* changes. 5) Receive *foreign* changes but now unmark as changed and don't includes as changes in new frames.
... ...
......