ChessServer.Server.Server C# (CSharp) Method

Server() static private method

static private Server ( ) : System.Collections.Concurrent
return System.Collections.Concurrent
        static Server()
        {
            var timer = new Timer();
            timer.Elapsed += PulseChecker;
            timer.Start();
            timer.Interval = 5000;

            var matchMakingTimer = new Timer();
            matchMakingTimer.Elapsed += MatchMaking;
            matchMakingTimer.Start();
            matchMakingTimer.Interval = 10000;
        }