public Consumer(Configurador parentConfigurador) { client = new SVCDocumentosElectronicos.DocumentosElectronicosClient(); configurador = parentConfigurador; configurador.LogWriter.Write(new LogEntry() { Message = "Instanciando Consumer" }); }
public Producer(Configurador parentConfigurador) { configurador = parentConfigurador; queue = new MessageQueue(configurador.InitialQueueName); client = new SVCDocumentosElectronicos.DocumentosElectronicosClient(); configurador.LogWriter.Write(new LogEntry() { Message = "Instanciando Producer" }); }
public Producer(Logger logger) { this.server = ConfigurationManager.AppSettings["Servidor"]; this.port = Convert.ToInt16(ConfigurationManager.AppSettings["Puerto"]); this.userName = ConfigurationManager.AppSettings["CuentaCorreo"]; this.password = ConfigurationManager.AppSettings["Password"]; this.userAlias = ConfigurationManager.AppSettings["CuentaAlias"]; this.reportBugsName = ConfigurationManager.AppSettings["CuentaBugsAlias"]; this.reportBugsAddress = ConfigurationManager.AppSettings["CuentaBugsAddress"]; this.smtpPort = Convert.ToInt16(ConfigurationManager.AppSettings["smtpPort"]); this.interval = Convert.ToInt32(ConfigurationManager.AppSettings["IntervalToProduce"]); this.logger = logger; sujetoContableClient = new SVCSujetoContable.SujetoContableClient(); documentClient = new SVCDocumentosElectronicos.DocumentosElectronicosClient(); aTimer = new Timer(); }
public Consumer(Configurador parentConfigurador) { client = new SVCDocumentosElectronicos.DocumentosElectronicosClient(); configurador = parentConfigurador; }
public Producer(Configurador parentconfigurador) { configurador = parentconfigurador; queue = new MessageQueue(configurador.InitialQueueName); client = new SVCDocumentosElectronicos.DocumentosElectronicosClient(); }