public void MakeTCPClient() { if (this.manager == null) { this.manager = new NpCloud(this, string.Empty); } this.ResetAllCallBackMethod(); }
public void TCPDisConnect(bool isClearManager = false) { if (this.manager == null) { return; } if (isClearManager) { this.manager.Delete(); this.manager = null; } else { this.manager.Exit(); } }