wpilibsuite / ntcore

NetworkTables Core Library (ARCHIVED, merged into allwpilib)
Other
39 stars 28 forks source link

Improve client connection synchronization behavior. #229

Closed PeterJohnson closed 7 years ago

PeterJohnson commented 7 years ago

The original synchronization behavior was troublesome for two reasons:

Instead of relying on the server to inform the client regarding reconnections, the client keeps track of what values have been modified by user code on the client. When the client connects to the server, the following occurs.

For entries that have been modified by user code on the client:

For entries that have not been modified by user code on the client:

Fixes #8.