Пример #1
0
 private void FailOnResume()
 {
     try
     {
         stateManager.Resume();
         Assert.Fail();
     }
     catch (IllegalStateTransitionException)
     {
         // Expected
     }
 }
Пример #2
0
 /// <summary>
 /// Resume sending events after the Adapter has been paused.
 /// </summary>
 /// <throws>EPException in case of errors processing the events</throws>
 public virtual void Resume()
 {
     StateManager.Resume();
     ContinueSendingEvents();
 }