public SR2DReader(SR2DClient clientGest, SR2DListener listener, TcpClient client) { this.client = client; this.clientGest = clientGest; this.listener = listener; ThreadStart readerThreadStart = new ThreadStart(read); readerThread = new Thread(readerThreadStart); readerThread.Start(); }
public void createReader(SR2DClient clientGest, SR2DListener listener, TcpClient client) { readerWork = true; reader = new SR2DReader(clientGest, listener, client); }
//Creation d'un reader public void createReader(SR2DListener listener, TcpClient client) { SR2DClient reader = new SR2DClient(listener, mF, client); mF.clientsList.Add(reader); }