Class AbstractExternalCallListener
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.system.interpreter.listener.AbstractExternalCallListener
-
- All Implemented Interfaces:
ITraversalListener<org.palladiosimulator.pcm.seff.AbstractAction,Request>
public abstract class AbstractExternalCallListener extends Object implements ITraversalListener<org.palladiosimulator.pcm.seff.AbstractAction,Request>
This abstract class eases the implementation of anITraversalListener
which is supposed to listen for traversal events regardingExternalCallAction
s. It searches for the component instance, from which the external call is originating, and passes this component instance to the event handling methods.
-
-
Constructor Summary
Constructors Constructor Description AbstractExternalCallListener()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
after(org.palladiosimulator.pcm.seff.AbstractAction action, Request request)
Called by theBehaviourInterpreter
when the specified action has been traversed completely by the given entity.abstract void
after(org.palladiosimulator.pcm.seff.ExternalCallAction call, Request request, ComponentInstance callingComponent)
void
before(org.palladiosimulator.pcm.seff.AbstractAction action, Request request)
Called by theBehaviourInterpreter
when the specified action is about to be traversed by the given entity.abstract void
before(org.palladiosimulator.pcm.seff.ExternalCallAction call, Request request, ComponentInstance callingComponent)
-
-
-
Method Detail
-
before
public abstract void before(org.palladiosimulator.pcm.seff.ExternalCallAction call, Request request, ComponentInstance callingComponent)
- See Also:
#before(AbstractAction, Request, TraversalState)
-
after
public abstract void after(org.palladiosimulator.pcm.seff.ExternalCallAction call, Request request, ComponentInstance callingComponent)
- See Also:
#after(AbstractAction, Request, TraversalState)
-
before
public void before(org.palladiosimulator.pcm.seff.AbstractAction action, Request request)
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 soonrequest
- the entity that traverses the action
-
after
public void after(org.palladiosimulator.pcm.seff.AbstractAction action, Request request)
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 traversedrequest
- the entity that has traversed the action
-
-