Esempio n. 1
0
        /// <summary>Starts this system.</summary>
        public override void Start()
        {
            this.SystemHost.UpdateSystemHost(this, "Starting...");

            // @@@ TODO: Test > 1, then allow total command processors to be configurable.
            int totalCommandProcessors = 1;
            for (int i = 0; i < totalCommandProcessors; i++)
            {
                var commandProcessor = new CommandProcessor(this);
                commandProcessor.Start();
                this.commandProcessors.Add(commandProcessor);
            }

            this.SystemHost.UpdateSystemHost(this, "Started");
        }