//-------------------------------------------// /// <summary> /// When the connection has been inactive for the specified /// 'timeout' number of milliseconds. /// </summary> protected virtual void OnTimeout() { // remove connection from view ManagerConnections.Remove(this); // close the connection Close(); _locker.OnLock = null; _locker.OnUnlock = null; }
/// <summary> /// Manually stop the connection between this configuration used for saving/loading. /// </summary> public void StopConnection() { ManagerConnections.Remove <ConnectionLocal>(_path); }