17#ifndef CYBER_SERVICE_DISCOVERY_SPECIFIC_MANAGER_SERVICE_MANAGER_H_
18#define CYBER_SERVICE_DISCOVERY_SPECIFIC_MANAGER_SERVICE_MANAGER_H_
31namespace service_discovery {
64 bool HasService(
const std::string& service_name);
83 void Dispose(
const ChangeMsg& msg)
override;
84 void OnTopoModuleLeave(
const std::string& host_name,
int process_id)
override;
Base class for management of Topology elements.
Topology Manager of Service related
std::vector< RoleAttributes > RoleAttrVec
bool HasService(const std::string &service_name)
Inquire whether service_name exists in topology
virtual ~ServiceManager()
Destroy the Service Manager object
void GetClients(const std::string &service_name, RoleAttrVec *clients)
Get the Clients object that subscribes service_name
ServiceManager()
Construct a new Service Manager object
void GetServers(RoleAttrVec *servers)
Get the All Server in the topology
elements in Cyber – Node, Channel, Service, Writer, Reader, Client and Server's relationship is prese...