示例#1
0
 void IConnection.Connect(ref connessione.Server server)
 {
     serverInConnessione.TryAdd(server);
     if (!connectServerWorker.IsBusy)
     {
         connectServerWorker.RunWorkerAsync();
     }
 }
示例#2
0
        public bool Equals(Server s)
        {
            if (s == null)
            {
                return false;
            }

            return Name.Equals(s.Name) && IP.Equals(s.IP) && ControlPort == s.ControlPort;
        }