/**
   * waitFor
   *
   * @param session a {@link org.opennms.sms.monitor.MobileSequenceSession} object.
   * @param execution a {@link org.opennms.sms.monitor.internal.MobileSequenceExecution} object.
   * @throws java.lang.InterruptedException if any.
   * @throws java.util.concurrent.ExecutionException if any.
   * @throws java.lang.Throwable if any.
   */
  public void waitFor(MobileSequenceSession session, MobileSequenceExecution execution)
      throws InterruptedException, ExecutionException, Throwable {

    execution.waitFor();

    execution.updateResults(session);
  }