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