Пример #1
0
 public void RemoveClient(DeviceWebSocketHandler websocketClient)
 {
     lock (_lockObject)
     {
         clients.Remove(websocketClient);
     }
 }
Пример #2
0
 public void AddClient(DeviceWebSocketHandler websocketClient)
 {
     lock (_lockObject)
     {
         clients.Add(websocketClient);
     }
 }