Interface IDemandListener


  • public interface IDemandListener
    A demand listener observes a SimActiveResource for resource demands. Whenever a demand is issued, the resource notifies its observers by calling the demand method on the listeners.
    See Also:
    SimActiveResource#addDemandListener(IDemandListener)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void demand​(de.uka.ipd.sdq.scheduler.ISchedulableProcess process, double demand, int resourceServiceID)
      Called when a resource demand has been issued.
    • Method Detail

      • demand

        void demand​(de.uka.ipd.sdq.scheduler.ISchedulableProcess process,
                    double demand,
                    int resourceServiceID)
        Called when a resource demand has been issued.
        Parameters:
        process - the process requesting the specified demand
        demand - the resource demand that has been requested
        resourceServiceID - the resource service id