// 构造函数 // clientSocket:和客户端通信的socket // server:服务器实例 public Client(Socket clientSocket, Server server) { this.clientSocket = clientSocket; this.server = server; mySqlConnection = ConnectHelper.Connect(); }