Exemple #1
0
 protected static void AddConnection(ProxyConnection conn)
 {
     if (conn == null)
     {
         return;
     }
     lock (_connections) {
         _connections.Add(conn);
     }
 }
Exemple #2
0
 protected static void RemoveConnection(ProxyConnection conn)
 {
     lock (_connections) {
         _connections.Remove(conn);
     }
 }