Class DebugSeffTraversalListener
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.system.debug.DebugSeffTraversalListener
-
- All Implemented Interfaces:
ITraversalListener<org.palladiosimulator.pcm.seff.AbstractAction,Request>
public class DebugSeffTraversalListener extends Object implements ITraversalListener<org.palladiosimulator.pcm.seff.AbstractAction,Request>
This listener prints a debug message whenever anAbstractAction
is about to be traversed or when an action has been traversed completely.Use the
install
method to activate this listener.Notice: This listener does only apply to actions contained in a RD-SEFF.
-
-
Constructor Summary
Constructors Constructor Description DebugSeffTraversalListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
after(org.palladiosimulator.pcm.seff.AbstractAction action, Request who)
Called by theBehaviourInterpreter
when the specified action has been traversed completely by the given entity.void
before(org.palladiosimulator.pcm.seff.AbstractAction action, Request who)
Called by theBehaviourInterpreter
when the specified action is about to be traversed by the given entity.
-
-
-
Method Detail
-
before
public void before(org.palladiosimulator.pcm.seff.AbstractAction action, Request who)
Called by theBehaviourInterpreter
when the specified action is about to be traversed by the given entity.- Specified by:
before
in interfaceITraversalListener<org.palladiosimulator.pcm.seff.AbstractAction,Request>
- Parameters:
action
- the action that is traversed soonwho
- the entity that traverses the action
-
after
public void after(org.palladiosimulator.pcm.seff.AbstractAction action, Request who)
Called by theBehaviourInterpreter
when the specified action has been traversed completely by the given entity.- Specified by:
after
in interfaceITraversalListener<org.palladiosimulator.pcm.seff.AbstractAction,Request>
- Parameters:
action
- the action that has been traversedwho
- the entity that has traversed the action
-
-