Example #1
0
        public CdrProcessor()
        {
            // get the event log name
            m_eventLogName = System.Configuration.ConfigurationManager.AppSettings["EventLogFileName"];            // get the event log name

            // email distribution list
            m_reportExternalEmailList = System.Configuration.ConfigurationManager.AppSettings["EMailList"];

            // get the time to sleep between failed file open operations
            m_ReportInterval = 1000 * Convert.ToInt32(System.Configuration.ConfigurationManager.AppSettings["ReportIntervalInSecs"]);

            // get our db interface
            m_db        = new CdrDbProcessor();
            m_keeper    = new TimeKeeper();
            m_processor = new CdrReportProcessor();
            _reporter   = new ReportFormatter();
        }
Example #2
0
        public CdrProcessor()
        {
            // get the event log name
            m_eventLogName = System.Configuration.ConfigurationManager.AppSettings["EventLogFileName"];            // get the event log name

            // email distribution list
            m_reportExternalEmailList = System.Configuration.ConfigurationManager.AppSettings["EMailList"];

            // get the time to sleep between failed file open operations
            m_ReportInterval = 1000 * Convert.ToInt32(System.Configuration.ConfigurationManager.AppSettings["ReportIntervalInSecs"]);

            // get our db interface
            m_db = new CdrDbProcessor();
            m_keeper = new TimeKeeper();
            m_processor = new CdrReportProcessor();
            _reporter = new ReportFormatter();
        }