Esempio n. 1
0
 public ServerClient(TFServer server)
 {
     Status           = NetStatus.DisConnected;
     dtClientConnTime = DateTime.MinValue;
     UnitCode         = "";
     UnitName         = "";
     UnitType         = ClientType.UnKnow;
     TFServer         = server;
     handler          = new ThreeFieldMsgHandler(this);
 }
Esempio n. 2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 private CoreService()
 {
     ts            = new TFServer();
     ts.ServerPort = SysParameters.LocalPort;
 }