public Mt4Dealer(DealerDescription desc, List<string> groupCodes) { errorStorage = new ErrorStorage(); GroupCodes = groupCodes; DealerCode = desc.Code; configFileName = desc.FileName; }
public void Initialize() { errorStorage = new ErrorStorage(); requestWatchdog = new RequestWatchdog(errorStorage); requestWatchdog.Start(); }
public RequestWatchdog(ErrorStorage errorStorage) { this.errorStorage = errorStorage; timerIntervalMil = AppConfig.GetIntParam("Watchdog.TimerInterval", 150); milsToReportError = AppConfig.GetIntParam("Watchdog.MilsToError", 10000); }