Exemplo n.º 1
0
 public Serializer(SecurityActivityQueue securityActivityQueue, SecurityActivityHistoryController activityHistory,
                   DataHandler dataHandler)
 {
     _securityActivityQueue = securityActivityQueue;
     _activityHistory       = activityHistory;
     _dataHandler           = dataHandler;
 }
Exemplo n.º 2
0
 public DependencyManager(Serializer serializer, Executor executor, TerminationHistory terminationHistory,
                          SecurityActivityHistoryController activityHistory)
 {
     _serializer         = serializer;
     _executor           = executor;
     _terminationHistory = terminationHistory;
     _activityHistory    = activityHistory;
 }
Exemplo n.º 3
0
        public SecurityActivityQueue(SecuritySystem securitySystem, CommunicationMonitor communicationMonitor,
                                     DataHandler dataHandler, SecurityActivityHistoryController activityHistory)
        {
            _securitySystem               = securitySystem;
            _communicationMonitor         = communicationMonitor;
            _dataHandler                  = dataHandler;
            _serializer                   = new Serializer(this, activityHistory, dataHandler);
            _executor                     = new Executor(activityHistory);
            _terminationHistory           = new TerminationHistory();
            _dependencyManager            = new DependencyManager(_serializer, _executor, _terminationHistory, activityHistory);
            _serializer.DependencyManager = _dependencyManager;
            _executor.DependencyManager   = _dependencyManager;

            communicationMonitor.HearthBeat += (sender, args) => HealthCheck();
        }
Exemplo n.º 4
0
 public Executor(SecurityActivityHistoryController activityHistory)
 {
     _activityHistory = activityHistory;
 }