void IWorkerNotificationManager.Start(IOrchestratorClient orchestratorClient, EngineSchedule schedule, IPipResultSerializer serializer) { Interlocked.Increment(ref StartCalls); }
public void Start(IOrchestratorClient orchestratorClient, EngineSchedule schedule, IPipResultSerializer serializer) { Contract.AssertNotNull(orchestratorClient); m_orchestratorClient = orchestratorClient; m_executionLogTarget = new NotifyOrchestratorExecutionLogTarget(this, schedule); m_forwardingEventListener = new ForwardingEventListener(this); m_pipResultListener = new PipResultListener(this, serializer); m_sendCancellationSource = new CancellationTokenSource(); m_sendThread = new Thread(() => SendNotifications(m_sendCancellationSource.Token)); m_sendThread.Start(); m_started = true; }
public PipResultListener(WorkerNotificationManager notificationManager, IPipResultSerializer serializer) { m_notificationManager = notificationManager; m_resultSerializer = serializer; }
void IWorkerNotificationManager.Start(IOrchestratorClient orchestratorClient, EngineSchedule schedule, IPipResultSerializer serializer) { StartCalls++; }