Health Class Reference
Allows to interact with a Health service.
#include <healthApi.h>
Public Member Functions | |
Health (std::string ip="127.0.0.1") | |
bool | isAlive () |
boost::system::error_code | monitorServiceAvailability_S (dpyHealth::ServiceAvailabilityObserver *observer) |
boost::system::error_code | monitorServiceAvailability_U (dpyHealth::ServiceAvailabilityObserver *observer) |
void | asyncGetCurrentStatusList (dpyHealth::status_handler_function handler) |
void | asyncGetPendingStatusList (dpyHealth::status_handler_function handler) |
void | asyncGetDevicesList (dpyHealth::device_handler_function handler) |
void | asyncReportNewStatus (dpyHealth::handler_function handler, std::string key, std::string value, dpyHealth::Priority priority) |
boost::system::error_code | reportNewStatus (std::string key, std::string value, dpyHealth::Priority priority) |