示例#1
0
 public ShardServer()
 {
     _server = new TcpServer();
     _server.AddEventListener(this);
 }
示例#2
0
 public void Initialize()
 {
     _server = new TcpServer();
     _server.Initialize(ConfigurationSettings <CSHostSettings> .Current.IP, ConfigurationSettings <CSHostSettings> .Current.Port);
     _server.AddEventListener(this);
 }