private bool DoneTrying() { ConfigurationBO cbo = (ConfigurationBO)SingletonManager.GetSingleton(typeof(ConfigurationBO)); ConfigurationContainer container = cbo.CContainer; return(this.RetryCount > container.MaxRetryCount); }
public void ResetTimer() { this.QTimer.Stop(); ConfigurationBO cbo = (ConfigurationBO)SingletonManager.GetSingleton(typeof(ConfigurationBO)); this.QTimer.Interval = Convert.ToInt32(cbo.CContainer.WaitTime); this.QTimer.Start(); }
public HandlerBO() : base() { this.Copier = new SimpleCopy(); ConfigurationBO cbo = (ConfigurationBO)SingletonManager.GetSingleton(typeof(ConfigurationBO)); this.QTimer = new Timer(Convert.ToInt32(cbo.CContainer.WaitTime)); this.QTimer.AutoReset = true; this.QTimer.Elapsed += new ElapsedEventHandler(this.Timer_Tick); }