public static void CreateInstance() { if (Instance != null) { return; } _instance = new ClientHandle(); }
private ClientHandle() { _clients = new List <Connection>(); _threadRunning = true; _listenThread = new Thread(WorkThread); _listenThread.Start(); _secondaryListinerActive = false; _instance = this; }