Example #1
0
 public GeneralProcessingCommandFactory(ILog log, ICollectorConfiguration configuration, IStatementsProcessingDataAccumulator statementDataAccumulator,
                                        DBMS.Contracts.IRepositoriesFactory dbmsRepositories, IRepositoriesFactory dalRepositories,
                                        ILastProcessedLogEntryEvidence processedLogEntryEvidence)
 {
     this.log                       = log;
     this.configuration             = configuration;
     this.statementDataAccumulator  = statementDataAccumulator;
     this.dbmsRepositories          = dbmsRepositories;
     this.dalRepositories           = dalRepositories;
     this.processedLogEntryEvidence = processedLogEntryEvidence;
 }
Example #2
0
        public Collector(ICollectorDAL dal, ICollectorConfiguration collectorConfiguration)
        {
            if (dal == null)
            {
                throw new ArgumentNullException("dal");
            }
            this.dal = dal;

            if (collectorConfiguration == null)
            {
                throw new ArgumentNullException("collectorConfiguration");
            }
            this.collectorConfiguration = collectorConfiguration;
        }
Example #3
0
        public DALServer(ICollectorConfiguration configuration, ICollectorDAL dal)
        {
            if (configuration == null)
            {
                throw new ArgumentNullException("configuration");
            }

            if (dal == null)
            {
                throw new ArgumentNullException("dal");
            }

            this.configuration = configuration;
            this.dal           = dal;
        }
Example #4
0
 public DALServerMock(ICollectorConfiguration configuration, ICollectorDAL dal) : base(configuration, dal)
 {
     this.dal = dal;
 }