17 #ifndef INCLUDED_BMQPI_HOSTHEALTHMONITOR
18 #define INCLUDED_BMQPI_HOSTHEALTHMONITOR
33 #include <bdlmt_signaler.h>
34 #include <bsl_functional.h>
63 virtual bdlmt::SignalerConnection
Provide an enumeration for different host health states.
A pure interface for monitoring the health of the host.
Definition: bmqpi_hosthealthmonitor.h:44
virtual bdlmt::SignalerConnection observeHostHealth(const HostHealthChangeFn &cb)=0
bsl::function< void(bmqt::HostHealthState::Enum)> HostHealthChangeFn
Definition: bmqpi_hosthealthmonitor.h:51
virtual ~HostHealthMonitor()
Destructor.
virtual bmqt::HostHealthState::Enum hostState() const =0
Queries the current health of the host.
Definition: bmqa_abstractsession.h:42
Enum
Definition: bmqt_hosthealthstate.h:47