Service configuration. More...
#include <serverconfig.hpp>
Public Member Functions | |
bool | depends (const string &service) |
Does this service depend on some other service. | |
vector< string > | getDependencies () |
Retrieve service dependencies as list of strings. | |
const string & | getLibrary () const |
Retrieve the library. | |
bool | getMandatory () const |
Retrieve the mandatory status, i.e. | |
const string & | getName () const |
Retrieve the configured name. | |
Security & | getSecurity () |
Retrieve security information related to a service. | |
Service (const string &library, const string &name, const string mandatory="") | |
C++ constructor. | |
![]() | |
AttributeList & | getAttributes () |
Retrieve attributes. | |
const AttributeList & | getAttributes () const |
Retrieve attributes. | |
virtual | ~AttributeProviderBase ()=default |
Additional Inherited Members | |
![]() | |
AttributeList | m_attributes |
attribute data | |
Service configuration.
kanzi::connect::ServerConfig::Service::Service | ( | const string & | library, |
const string & | name, | ||
const string | mandatory = "" ) |
C++ constructor.
initialize object
library | the library for the service. |
name | the name for the service |
mandatory | if contains true|1 then this service is marked as mandatory. |
bool kanzi::connect::ServerConfig::Service::depends | ( | const string & | service | ) |
Does this service depend on some other service.
service | the service |
vector< string > kanzi::connect::ServerConfig::Service::getDependencies | ( | ) |
Retrieve service dependencies as list of strings.
const string & kanzi::connect::ServerConfig::Service::getLibrary | ( | ) | const |
Retrieve the library.
bool kanzi::connect::ServerConfig::Service::getMandatory | ( | ) | const |
Retrieve the mandatory status, i.e.
whether everyting should fail if accessing this service fails
const string & kanzi::connect::ServerConfig::Service::getName | ( | ) | const |
Retrieve the configured name.
Security & kanzi::connect::ServerConfig::Service::getSecurity | ( | ) |
Retrieve security information related to a service.