Exemplo n.º 1
0
 public void Remove(MyServerConnection connection)
 {
     lock (ClientListLock)
     {
         ClientList.Remove(connection);
     }
 }
Exemplo n.º 2
0
        protected override SDKConnection OnIncomingConnection(SDKAddress address)
        {
            MyServerConnection connection = new MyServerConnection(this);

            lock (ClientListLock)
            {
                ClientList.Add(connection);
            }
            return(connection);
        }