Example #1
0
        public static void AddinQueue(AuthClient client)
        {
            Utilities.Loggers.InfosLogger.Write(string.Format("Add {0} in queue !", client.myIp()));

            lock(_clients)
                _clients.Add(client);
        }
Example #2
0
        public static void AddInQueue(AuthClient client)
        {
            Utilities.Loggers.Debug.Write(string.Format("Add {0} in queue !", client.IP));

            lock (Clients)
                Clients.Add(client);

            if (!isRunning)
            {
                isRunning = true;
                timer.Start();
            }
        }