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; }
void IWorkerNotificationManager.Start(IOrchestratorClient orchestratorClient, EngineSchedule schedule, IPipResultSerializer serializer) { Interlocked.Increment(ref StartCalls); }
public MyRpaClient(IOrchestratorClient orchestratorClient, IOptionsMonitor <OrchestratorSettings> orchestratorSettingsAccessor) { _orchestratorClient = orchestratorClient.CheckNullReference(); _orchestratorSettings = orchestratorSettingsAccessor.CheckNullReference().CurrentValue; }
void IWorkerNotificationManager.Start(IOrchestratorClient orchestratorClient, EngineSchedule schedule, IPipResultSerializer serializer) { StartCalls++; }