public void RemoveClient(DeviceWebSocketHandler websocketClient) { lock (_lockObject) { clients.Remove(websocketClient); } }
public void AddClient(DeviceWebSocketHandler websocketClient) { lock (_lockObject) { clients.Add(websocketClient); } }