Beispiel #1
0
        public EzServer(EzServerConfig config)
        {
            Config  = config;
            _logger = LogProvider <EzLogger> .GetLogger(this);

            _logger.Configure(Config);
            _active = config.Active;
        }
Beispiel #2
0
 public Config(EzServerConfig config)
 {
     IpAddress                 = config.IpAddress?.ToString();
     LogIncomingPackets        = config.LogIncomingPackets;
     LogOutgoingPackets        = config.LogOutgoingPackets;
     LogUnknownIncomingPackets = config.LogUnknownIncomingPackets;
     Port           = config.Port;
     Backlog        = config.Backlog;
     BufferSize     = config.BufferSize;
     MaxConnections = config.MaxConnections;
     NumSimultaneouslyWriteOperations = config.NumSimultaneouslyWriteOperations;
     Active = config.Active;
 }
Beispiel #3
0
 public LoginServer(EzServerConfig config) : base(config)
 {
 }
Beispiel #4
0
 public WorldServer(EzServerConfig config) : base(config)
 {
 }