Пример #1
0
        internal void Start(IMasterClient masterClient)
        {
            Contract.AssertNotNull(masterClient);

            m_masterClient       = masterClient;
            m_executionLogTarget = new NotifyMasterExecutionLogTarget(this, m_environment.Context, m_scheduler.PipGraph.GraphId, m_scheduler.PipGraph.MaxAbsolutePathIndex);
            m_scheduler.AddExecutionLogTarget(m_executionLogTarget);
            m_sendThread.Start();
        }
 internal NotifyOrchestratorExecutionLogTarget(WorkerNotificationManager notificationManager, EngineSchedule engineSchedule)
     : this(new NotifyStream(notificationManager), engineSchedule.Context, engineSchedule.Scheduler.PipGraph.GraphId, engineSchedule.Scheduler.PipGraph.MaxAbsolutePathIndex)
 {
     m_scheduler = engineSchedule?.Scheduler;
     m_scheduler?.AddExecutionLogTarget(this);
 }