public void readData(TcpClient client, ServerThreadPool cn) { this.nstream = client.GetStream(); this.client = client; new System.Threading.Thread(read).Start(); }
public void ReadData(TcpClient client, ServerThreadPool cn) { this.nstream = client.GetStream(); this.client = client; new Thread(Read).Start(); }
public void close(SendServerPacket pk) { sendPacket(pk); ServerThreadPool.getInstance().shutdown(id); }
private void termination() { ServerThreadPool.getInstance().shutdown(id); }