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 void
consume(IRequest request, org.palladiosimulator.pcm.resourceenvironment.LinkingResource specification, double absoluteDemand, Procedure onServedCallback)
Simulates a network transfer between two resource containers.void
init()
-
-
-
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:ILinkingResource
Simulates a network transfer between two resource containers.- Specified by:
consume
in 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
-
-