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