Class EventSimLinkingResourceModel

    • 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 interface ILinkingResource
        Parameters:
        request - the demanding request
        specification - specification of the linking resource connecting the resource containers
        absoluteDemand - the resource demand
        onServedCallback - the callback to be invoked once the requested demand has been served