Beispiel #1
0
 public void Dispose()
 {
     if (_clientHandler != null)
     {
         lock (this)
         {
             _doaccept = false;
         }
         _clientHandler.Dispose();
         _clientHandler = null;
     }
 }
Beispiel #2
0
 public ChatService() 
 {
     _clientHandler = new ClientConnectionsHandler();
 }