public PipResultListener(WorkerNotificationManager notificationManager, EngineSchedule schedule, IPipExecutionEnvironment environment)
 {
     m_notificationManager = notificationManager;
     m_resultSerializer    = new ExecutionResultSerializer(maxSerializableAbsolutePathIndex: schedule.MaxSerializedAbsolutePath, executionContext: schedule.Scheduler.Context);
     m_pipTable            = schedule.PipTable;
     m_environment         = environment;
 }
Ejemplo n.º 2
0
 public ForwardingEventListener(WorkerNotificationManager notificationManager)
     : base(Events.Log, GetStartTime(), eventMask: GetEventMask())
 {
     m_notificationManager = notificationManager;
 }
 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);
 }
 public NotifyStream(WorkerNotificationManager notificationManager)
 {
     m_notificationManager = notificationManager;
 }
 public PipResultListener(WorkerNotificationManager notificationManager, IPipResultSerializer serializer)
 {
     m_notificationManager = notificationManager;
     m_resultSerializer    = serializer;
 }
 internal NotifyMasterExecutionLogTarget(WorkerNotificationManager notificationManager, PipExecutionContext context, Guid logId, int lastStaticAbsolutePathIndex)
     : this(new NotifyStream(notificationManager), context, logId, lastStaticAbsolutePathIndex)
 {
 }