Exemple #1
0
        protected override void OnStart(string[] args)
        {
            config = new AppConfig();

            debugging = ((AppConfig)ConfigurationManager.GetSection("munin")).debug;

            config.init();

            server = new EmbeddedServer(((AppConfig)ConfigurationManager.GetSection("munin")).certificateFile, ((AppConfig)ConfigurationManager.GetSection("munin")).certificatePassword);
            server.processDelegate = ProcessRequest;
            server.Start();
        }
		protected override void OnStart(string[] args)
		{
			config = new AppConfig();

			debugging = ((AppConfig)ConfigurationManager.GetSection("munin")).debug;

			config.init();

			server = new EmbeddedServer(((AppConfig)ConfigurationManager.GetSection("munin")).certificateFile, ((AppConfig)ConfigurationManager.GetSection("munin")).certificatePassword);
			server.processDelegate = ProcessRequest;
			server.Start();
		}