Interface ITraversalListener<A extends org.palladiosimulator.pcm.core.entity.Entity,E extends EventSimEntity>
-
- Type Parameters:
A
- the least common parent type of all actions that are to be traversedE
- the type of the entity whose behaviour is simulated by the traversal
- All Known Implementing Classes:
AbstractExternalCallListener
,DebugSeffTraversalListener
,DebugUsageTraversalListener
,SimSlowdown
public interface ITraversalListener<A extends org.palladiosimulator.pcm.core.entity.Entity,E extends EventSimEntity>
A traversal listener observes subclasses ofBehaviourInterpreter
for their traversal progress. Whenever an action is about to be traversed or has been traversed completely, the BehaviourTraversal notifies its observers by calling either thebefore
or theafter
method on the listeners.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
after(A action, E entity)
Called by theBehaviourInterpreter
when the specified action has been traversed completely by the given entity.void
before(A action, E entity)
Called by theBehaviourInterpreter
when the specified action is about to be traversed by the given entity.
-