Class 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 an ITraversalListener which is supposed to listen for traversal events regarding ExternalCallActions. It searches for the component instance, from which the external call is originating, and passes this component instance to the event handling methods.
    • Constructor Detail

      • AbstractExternalCallListener

        public AbstractExternalCallListener()
    • 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 the BehaviourInterpreter when the specified action is about to be traversed by the given entity.
        Specified by:
        before in interface ITraversalListener<org.palladiosimulator.pcm.seff.AbstractAction,​Request>
        Parameters:
        action - the action that is traversed soon
        request - the entity that traverses the action
      • after

        public void after​(org.palladiosimulator.pcm.seff.AbstractAction action,
                          Request request)
        Called by the BehaviourInterpreter when the specified action has been traversed completely by the given entity.
        Specified by:
        after in interface ITraversalListener<org.palladiosimulator.pcm.seff.AbstractAction,​Request>
        Parameters:
        action - the action that has been traversed
        request - the entity that has traversed the action