public GodotFountain(Logger logger, ServerConfig config, X509Certificate2 serverCert)
 {
     this.counter    = new GodotCounter();
     this.logger     = logger;
     this.config     = config;
     this.serverCert = serverCert;
 }
Example #2
0
        public Godot(ulong id, Logger logger, ServerConfig config, X509Certificate2 serverCert, GodotCounter godotCounter)
        {
            this.id           = id;
            this.logger       = logger;
            this.serverCert   = serverCert;
            this.godotCounter = godotCounter;
            this.config       = config;
            godotCounter.IncreaseCreated();

            logger.Log(this, "Godot has been born.");
        }