ServiceReferenceDTO

struct cppmicroservices::framework::dto::ServiceReferenceDTO
#include <cppmicroservices/servicecomponent/runtime/dto/ServiceReferenceDTO.hpp>

A representation of a satisfied reference.

Public Members

unsigned long id

The id of the service.

See
Constants::SERVICE_ID

unsigned long bundle

The id of the bundle that registered the service.

See
ServiceReference::GetBundle()

std::unordered_map<std::string, cppmicroservices::Any> properties

The properties for the service.

The value type must be a numerical type, Boolean, String or a container of any of the former.

See
ServiceReference::GetProperty(String)

std::vector<unsigned long> usingBundles

The ids of the bundles that are using the service.

See
ServiceReference::GetUsingBundles()