Beispiel #1
0
        protected override void OnStart(string[] args)
        {
            if(_webServer != null)
            {
                _webServer.Dispose();
            }

            _webServer = new ConDepWebServer(_port, _timeout, EventLog);
            _webServer.Start();
        }
Beispiel #2
0
        protected override void OnStart(string[] args)
        {
            if (_webServer != null)
            {
                _webServer.Dispose();
            }

            _webServer = new ConDepWebServer(_port, EventLog, new HttpProcessHandler(EventLog, _timeout), _prefix);
            _webServer.Start();
        }
Beispiel #3
0
        protected override void OnStart(string[] args)
        {
            if (_webServer != null)
            {
                _webServer.Dispose();
            }

            _webServer = new ConDepWebServer(_port, _timeout, EventLog);
            _webServer.Start();
        }