Namespace Utils.Common.Network
Classes
- MovingAverage
Moving average calculator. Calculates average value of all given items Safe to use in cross-thread environment
- ReconnectionTimer
Repeats connect attempts on a timer after a connection loss, with an interval that grows with the number of attempts (Periods). Each Start() call allows one attempt: the owner calls Start() again after a failed attempt, and a tick that finds the connection established calls Stop(). Start() and Stop() are thread-safe; the timer callbacks, including the connect delegate, run on thread-pool threads.
Interfaces
- ITimeSyncManager
Measures the offset between the clock of a server (or an NTP server) and the local clock and keeps it up to date. A connector initializes it on connect, starts the periodic refresh while connected and stops it on disconnect.