Class EventSimLinkingResourceModel
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.resources.EventSimLinkingResourceModel
-
- All Implemented Interfaces:
ILinkingResource
public class EventSimLinkingResourceModel extends Object implements ILinkingResource
-
-
Constructor Summary
Constructors Constructor Description EventSimLinkingResourceModel(ISimulationMiddleware middleware)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconsume(IRequest request, org.palladiosimulator.pcm.resourceenvironment.LinkingResource specification, double absoluteDemand, Procedure onServedCallback)Simulates a network transfer between two resource containers.voidinit()
-
-
-
Constructor Detail
-
EventSimLinkingResourceModel
@Inject public EventSimLinkingResourceModel(ISimulationMiddleware middleware)
-
-
Method Detail
-
init
public void init()
-
consume
public void consume(IRequest request, org.palladiosimulator.pcm.resourceenvironment.LinkingResource specification, double absoluteDemand, Procedure onServedCallback)
Description copied from interface:ILinkingResourceSimulates a network transfer between two resource containers.- Specified by:
consumein interfaceILinkingResource- Parameters:
request- the demanding requestspecification- specification of the linking resource connecting the resource containersabsoluteDemand- the resource demandonServedCallback- the callback to be invoked once the requested demand has been served
-
-