17 #ifndef CYBER_SERVICE_DISCOVERY_SPECIFIC_MANAGER_NODE_MANAGER_H_ 18 #define CYBER_SERVICE_DISCOVERY_SPECIFIC_MANAGER_NODE_MANAGER_H_ 30 namespace service_discovery {
32 class TopologyManager;
62 bool HasNode(
const std::string& node_name);
72 bool Check(
const RoleAttributes& attr)
override;
73 void Dispose(
const ChangeMsg& msg)
override;
74 void OnTopoModuleLeave(
const std::string& host_name,
int process_id)
override;
76 void DisposeJoin(
const ChangeMsg& msg);
77 void DisposeLeave(
const ChangeMsg& msg);
86 #endif // CYBER_SERVICE_DISCOVERY_SPECIFIC_MANAGER_NODE_MANAGER_H_ PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
Topology Manager of Node related.
Definition: node_manager.h:38
elements in Cyber – Node, Channel, Service, Writer, Reader, Client and Server's relationship is pres...
Definition: topology_manager.h:64
Base class for management of Topology elements. Manager can Join/Leave the Topology, and Listen the topology change.
Definition: manager.h:51
NodeManager()
Construct a new Node Manager object.
void GetNodes(RoleAttrVec *nodes)
Get the Nodes object.
bool HasNode(const std::string &node_name)
Checkout whether we have node_name in topology.
std::vector< RoleAttributes > RoleAttrVec
Definition: node_manager.h:42
Definition: single_value_warehouse.h:31
virtual ~NodeManager()
Destroy the Node Manager object.