示例#1
0
        }// TryAddEngine()

        //
        //
        //
        // *********************************************
        // ****       ConfirmStrategyLaunched()     ****
        // *********************************************
        /// <summary>
        /// Broadcast to RemoteEngineHub that this execution strategy is ready.
        /// </summary>
        public void ConfirmStrategyLaunched()
        {
            Log.NewEntry(LogLevel.Minor, "ExecutionContainer {1} #{0}.  Confirming launch of {2} engines.", this.EngineContainerID, this.EngineContainerName, this.EngineList.Count);
            foreach (Engine engine in this.EngineList.Values)
            {
                EngineEventArgs e = EngineEventArgs.ConfirmNewEngine(m_LocalEngineHub.ServiceName, this.EngineContainerID, engine);
                this.RemoteEngineHub.HubEventEnqueue(e);
            }
        }