public void Start() { _lastReconnectionTimestamp = DateTime.UtcNow; _connection = _coordinator.CreateConnection(OnPackageArrived, OnConnectionEstablished, OnConnectionClosed); _timeoutCheckStopwatch.Start(); _stoppedEvent.Reset(); _thread.Start(); }
public void Start() { _lastReconnectionTimestamp = DateTime.UtcNow; _connection = _coordinator.CreateConnection(OnPackageArrived, OnConnectionEstablished, OnConnectionClosed); _timeoutCheckStopwatch.Start(); _stoppedEvent.Reset(); _thread.Start(); }