struct cppmicroservices::service::component::runtime::dto::UnsatisfiedReferenceDTO
#include <cppmicroservices/servicecomponent/runtime/dto/UnsatisfiedReferenceDTO.hpp>

A representation of an unsatisfied reference.

Public Members

std::string name

The name of the declared reference.

This is declared in the name attribute of the reference element of the component description.


std::string target

The target property of the unsatisfied reference.

This is the value of the component property whose name is the concatenation of the declared reference name and ”.target”. This must be empty string if no target property is set for the reference.

std::vector<cppmicroservices::framework::dto::ServiceReferenceDTO> targetServices

The target services.

Each ServiceReferenceDTO in the vector represents a target service for the reference. The vector must be empty if there are no target services. The upper bound on the number of target services in the vector is the upper bound on the cardinality of the reference.