Esempio n. 1
0
    /// <summary>
    /// Reset timer to default timeout
    /// </summary>
    /// <param name="server">Server object</param>
    private void ResetTimer(Server server)
    {
        ServerTimer serverTimer = null;

        lock (this.lockServers) {
            if (this.serverTimers.TryGetValue(server.Process.Id, out serverTimer))
            {
                serverTimer.ResetTimer();
            }
        }
    }