HealthClient Class Reference
Interacts with Health service.
#include <healthClient.h>
Inheritance diagram for HealthClient:
Public Member Functions | |
HealthClient (std::string &ip, int dport, int sport) | |
void | getCurrentStatusList (dpyHealth::status_handler_function handler) |
void | getPendingStatusList (dpyHealth::status_handler_function handler) |
void | getDeviceList (dpyHealth::device_handler_function handler) |
void | reportNewStatus (dpyHealth::handler_function handler, std::string key, std::string value, dpyHealth::Priority priority) |
Public Member Functions inherited from DpyMwClient | |
DpyMwClient (std::string &ip, int dport, int sport) | |
void | start () |
void | stop () |
void | subscribe (int messageType, boost::any handler) |
void | unsubscribe (int messageType) |
bool | isAlive () |
void | monitorServiceAvailability_S (const f_hearbeat_handler &handler) |
void | monitorServiceAvailability_U () |
Additional Inherited Members | |
Protected Member Functions inherited from DpyMwClient | |
void | sendRequest (int requestType, int responseType, std::string content, boost::any handler, int ms_timeout=2000) |
Protected Attributes inherited from DpyMwClient | |
map_proto_register_client | m_register_map |
std::mutex | m_map_mutex |