public Server(frm_Main frm_Main, System.Net.Sockets.TcpClient clientSocket, ObservableCollection<ClientDetails> listOfClients, ParallelListener _dispatcher)
 {
     needsUserList = false;
     this.frm_Main = frm_Main;
     this.clientSocket = clientSocket;
     this.listOfClients = listOfClients;
     dispatcher = _dispatcher;
 }       
Exemple #2
0
 private void startListening()
 {
     parallel = new ParallelListener(this);
     thread = new Thread(new ThreadStart(parallel.listen));
     thread.Start();
 }
 public Sentinel(ParallelListener parallelListener)
 {
     this.parallelListener = parallelListener;
 }