Kanzi Connect  1.1.10
Kanzi Connect C++ API
kanzi::connect::ServiceManager::ServiceInfo Class Reference

Info and details for a running service. More...

#include <service_manager.hpp>

Public Types

enum  Location { Local, Remote }
 Enumeration to describe where the service is being hosted and run. More...
 

Public Attributes

string m_address
 Address of the service. Empty for locally running service(s). More...
 
AbstractService::ServiceDescription m_description
 Service description. More...
 
int m_instances
 Amount of references to this service. More...
 
string m_interface
 Name of the service interface. More...
 
Location m_location
 Location of the service. More...
 
string m_serviceDescriptionHash
 Running number to identify when service info has changed. More...
 
AbstractService::ServiceState m_state
 State information regarding the service. More...
 

Detailed Description

Info and details for a running service.

Member Enumeration Documentation

◆ Location

Enumeration to describe where the service is being hosted and run.

Enumerator
Local 

Service is local, it's running on this server.

Remote 

Service is remote, one of the clients is runnning the service remotely.

Member Data Documentation

◆ m_address

string kanzi::connect::ServiceManager::ServiceInfo::m_address

Address of the service. Empty for locally running service(s).

◆ m_description

AbstractService::ServiceDescription kanzi::connect::ServiceManager::ServiceInfo::m_description

Service description.

◆ m_instances

int kanzi::connect::ServiceManager::ServiceInfo::m_instances

Amount of references to this service.

◆ m_interface

string kanzi::connect::ServiceManager::ServiceInfo::m_interface

Name of the service interface.

◆ m_location

Location kanzi::connect::ServiceManager::ServiceInfo::m_location

Location of the service.

◆ m_serviceDescriptionHash

string kanzi::connect::ServiceManager::ServiceInfo::m_serviceDescriptionHash

Running number to identify when service info has changed.

◆ m_state

AbstractService::ServiceState kanzi::connect::ServiceManager::ServiceInfo::m_state

State information regarding the service.


The documentation for this class was generated from the following file: