Example #1
0
 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;
 }       
Example #2
0
 private void startListening()
 {
     parallel = new ParallelListener(this);
     thread = new Thread(new ThreadStart(parallel.listen));
     thread.Start();
 }
Example #3
0
 public Sentinel(ParallelListener parallelListener)
 {
     this.parallelListener = parallelListener;
 }