示例#1
0
        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();
        }
示例#2
0
        public void createReader(SR2DClient clientGest, SR2DListener listener, TcpClient client)
        {
            readerWork = true;

            reader = new SR2DReader(clientGest, listener, client);
        }
示例#3
0
        //Creation d'un reader
        public void createReader(SR2DListener listener, TcpClient client)
        {
            SR2DClient reader = new SR2DClient(listener, mF, client);

            mF.clientsList.Add(reader);
        }