Ejemplo n.º 1
0
        //*********************************************************************
        ///
        /// <summary>
        ///
        /// </summary>
        /// <param name="cmpDbConnectionString"></param>
        ///
        //*********************************************************************

        public void ProcessOpsRequests(string cmpDbConnectionString)
        {
            using (var po = new ProcessorOps(_eventLog))
            {
                po.ProcessOpsRequests(cmpDbConnectionString);
            }
        }
Ejemplo n.º 2
0
        //*********************************************************************
        ///
        ///  <summary>
        ///
        ///  </summary>
        ///  <param name="cmpDbConnectionString"></param>
        /// <param name="aftsDbConnectionString"></param>
        ///
        //**********************************************************************

        public void AsynchStart(string cmpDbConnectionString, string aftsDbConnectionString)
        {
            try
            {
                _pvm = new ProcessorVm(_eventLog);
                _pvm.ProcessVmRequestsAsynch(cmpDbConnectionString, aftsDbConnectionString);

                _po = new ProcessorOps(_eventLog);
                _po.ProcessOpsRequestsAsynch(cmpDbConnectionString);

                _pss = new ProcessorSyncSubs(_eventLog);
                _pss.ProcessSyncAzureSubsAsync(cmpDbConnectionString);

                _psai = new ProcessorSyncAzureInfo(_eventLog);
                _psai.ProcessSyncAzureInfo(cmpDbConnectionString);
            }
            catch (Exception ex)
            {
                LogThis(ex, EventLogEntryType.Error,
                        "Exception in CmpServiceLib.Processor.AsynchStart()", 0, 0);
            }
        }