Beispiel #1
0
        public void readData(TcpClient client, ServerThreadPool cn)
        {
            this.nstream = client.GetStream();
            this.client  = client;

            new System.Threading.Thread(read).Start();
        }
Beispiel #2
0
        public void ReadData(TcpClient client, ServerThreadPool cn)
        {
            this.nstream = client.GetStream();
            this.client  = client;

            new Thread(Read).Start();
        }
Beispiel #3
0
 public void close(SendServerPacket pk)
 {
     sendPacket(pk);
     ServerThreadPool.getInstance().shutdown(id);
 }
Beispiel #4
0
 private void termination()
 {
     ServerThreadPool.getInstance().shutdown(id);
 }