Example #1
0
 public Mt4Dealer(DealerDescription desc, List<string> groupCodes)
 {
     errorStorage = new ErrorStorage();
     GroupCodes = groupCodes;
     DealerCode = desc.Code;
     configFileName = desc.FileName;
 }
Example #2
0
 public void Initialize()
 {
     errorStorage    = new ErrorStorage();
     requestWatchdog = new RequestWatchdog(errorStorage);
     requestWatchdog.Start();
 }
Example #3
0
 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);
 }