public bool PausePersistQueue(int seconds)
 {
     if (EnablePersistQueue)
     {
         if (_Logger != null)
         {
             _Logger.Info("TopicSbscriberListener PausePersistQueue: " + SbscriberHost);
         }
         return(ActionWorker.Pause(seconds));
     }
     return(false);
 }
Exemple #2
0
 public void Pause(int seconds)
 {
     if (ActionWorker == null)
     {
         return;
     }
     ActionWorker.Pause(seconds);
     if (_Logger != null)
     {
         _Logger.Info("SessionListener Stoped");
     }
 }