Service configuration. More...
#include <serverconfig.hpp>
Public Member Functions | |
| bool | depends (const string &service) |
| Does this service depend on some other service. More... | |
| vector< string > | getDependencies () |
| Retrieve service dependencies as list of strings. More... | |
| const string & | getLibrary () const |
| Retrieve the library. More... | |
| bool | getMandatory () const |
| Retrieve the mandatory status, i.e. More... | |
| const string & | getName () const |
| Retrieve the configured name. More... | |
| Security & | getSecurity () |
| Retrieve security information related to a service. More... | |
| Service (const string &library, const string &name, const string mandatory="") | |
| C++ constructor. More... | |
Public Member Functions inherited from kanzi::connect::ServerConfig::AttributeProviderBase | |
| AttributeList & | getAttributes () |
| Retrieve attributes. More... | |
| const AttributeList & | getAttributes () const |
| Retrieve attributes. More... | |
| virtual | ~AttributeProviderBase ()=default |
Additional Inherited Members | |
Protected Attributes inherited from kanzi::connect::ServerConfig::AttributeProviderBase | |
| AttributeList | m_attributes |
| attribute data More... | |
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.