Class SimulationService.IdleListener
- java.lang.Object
-
- jadex.platform.service.simulation.SimulationService.IdleListener
-
- All Implemented Interfaces:
IFunctionalExceptionListener
,IFunctionalResultListener
,IResultListener
- Enclosing class:
- SimulationService
public class SimulationService.IdleListener extends java.lang.Object implements IResultListener
Listener on the execution service.
-
-
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.
-
-
-
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.
-
-
Method Detail
-
exceptionOccurred
public void exceptionOccurred(java.lang.Exception exception)
Called when an exception occurs.- Specified by:
exceptionOccurred
in interfaceIFunctionalExceptionListener
- Parameters:
exception
- The exception.
-
resultAvailable
public void resultAvailable(java.lang.Object result)
Called when the execution service is idle.- Specified by:
resultAvailable
in interfaceIFunctionalResultListener
- Parameters:
result
- The result.
-
-