Class CommunicationLink

    • Constructor Detail

      • CommunicationLink

        public CommunicationLink​(List<SimulatedResourceContainer> connectedContainer,
                                 org.palladiosimulator.pcm.resourceenvironment.CommunicationLinkResourceSpecification specification)
        Default constructor.
        Parameters:
        connectedContainer - the containers that are connected by this link
        specification - the specification of the communication channel connecting the resource containers
    • Method Detail

      • connects

        public boolean connects​(SimulatedResourceContainer c1,
                                SimulatedResourceContainer c2)
        Returns whether this link establishes a connection between the specified resource containers.
        Parameters:
        c1 - first resource container
        c2 - second resource container
        Returns:
        true if this links connects both resource containers; false else
      • getSpecification

        public org.palladiosimulator.pcm.resourceenvironment.CommunicationLinkResourceSpecification getSpecification()
        Returns the specification of the communication channel represented by this link.
      • getConnectedContainer

        public List<SimulatedResourceContainer> getConnectedContainer()
        Returns the list of resource containers connected by this link.