Class SimulationService.IdleListener

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean continued
      Flag indicating an a continued execution.
      protected boolean outdated
      Flag to indicate an outdated listener that should not do anything.
    • Constructor Summary

      Constructors 
      Constructor Description
      IdleListener()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void exceptionOccurred​(java.lang.Exception exception)
      Called when an exception occurs.
      void resultAvailable​(java.lang.Object result)
      Called when the execution service is idle.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • outdated

        protected boolean outdated
        Flag to indicate an outdated listener that should not do anything. Required, because future does not support remove listener.
      • continued

        protected boolean continued
        Flag indicating an a continued execution. If in action step mode, clock must not be advanced.
    • Constructor Detail

      • IdleListener

        public IdleListener()
    • Method Detail

      • exceptionOccurred

        public void exceptionOccurred​(java.lang.Exception exception)
        Called when an exception occurs.
        Specified by:
        exceptionOccurred in interface IFunctionalExceptionListener
        Parameters:
        exception - The exception.
      • resultAvailable

        public void resultAvailable​(java.lang.Object result)
        Called when the execution service is idle.
        Specified by:
        resultAvailable in interface IFunctionalResultListener
        Parameters:
        result - The result.