Beispiel #1
0
 void RemoveClientFromWatchList(NewCamdApi api)
 {
     lock (_syncObject)
     {
         _activeClients.Remove(api);
     }
     Logger.Debug($"Removed client {api.Name} from the watchlist");
 }
Beispiel #2
0
 void AddClientToWatchList(NewCamdApi api)
 {
     lock (_syncObject)
     {
         _activeClients.Add(api);
     }
     Logger.Debug($"Added client {api.Name} to the watchlist");
 }