Exemplo n.º 1
0
        }         // proc Dispose

        private void OnStart()
        {
            LogMsg(EventLogEntryType.Information, "Service is starting...", 0, 0, null);
            try
            {
                queue = new DEQueueScheduler(this); // Start the queue thread, this is needed for the configuration initialization.
                InitConfiguration();                // Start the configuration system
                InitServerInfo();                   // initialize server info
                // the rest will be started from the configuration system
            }
            catch (Exception e)
            {
                LogMsg(e);
            }
        }         // proc OnStart
Exemplo n.º 2
0
 public QueueScheduler(DEQueueScheduler scheduler)
 {
     this.scheduler = scheduler;
 }             // ctor