Interface IDemandListener
-
public interface IDemandListener
A demand listener observes aSimActiveResource
for resource demands. Whenever a demand is issued, the resource notifies its observers by calling thedemand
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 demanddemand
- the resource demand that has been requestedresourceServiceID
- the resource service id
-
-