healthApi.h
Go to the documentation of this file.
59 typedef boost::function<void(boost::system::error_code error_code, std::vector<dpyHealth::Status>&)> status_handler_function;
66 typedef boost::function<void(boost::system::error_code error_code, std::vector<dpyHealth::DeviceInformation>&)> device_handler_function;
88 boost::system::error_code monitorServiceAvailability_S(dpyHealth::ServiceAvailabilityObserver *observer);
89 boost::system::error_code monitorServiceAvailability_U(dpyHealth::ServiceAvailabilityObserver *observer);
94 void asyncReportNewStatus(dpyHealth::handler_function handler, std::string key, std::string value, dpyHealth::Priority priority);
95 boost::system::error_code reportNewStatus(std::string key, std::string value, dpyHealth::Priority priority);
virtual ~ServiceAvailabilityObserver()
Destructor.
Definition: healthApi.h:40
boost::function< void(boost::system::error_code error_code, std::vector< dpyHealth::Status > &)> status_handler_function
Handler for getStatusList function callback.
Definition: healthApi.h:59
Service Availability observer class.
Definition: healthApi.h:27
virtual void updateAvailability(const bool &available)=0
Method called when service availability changes.
boost::function< void(boost::system::error_code &ec)> handler_function
Handler for status function callback.
Definition: healthApi.h:52
Deepsy HEALTH namespace that includes the different enums, structs or method signatures that should b...
Definition: healthTypes.h:17
boost::function< void(boost::system::error_code error_code, std::vector< dpyHealth::DeviceInformation > &)> device_handler_function
Handler for getDeviceList function callback.
Definition: healthApi.h:66