// notify if the amount of pings that failed exceed the limit
if ( exceeded_ping_failed_count_limit() )
{
- Notifier->alert_host_down( HostAddress );
+ Notifier->notify_host_down( HostAddress );
}
else
{
- Notifier->alert_host_up( HostAddress );
+ Notifier->notify_host_up( HostAddress );
}
}
{
}
-void PingStatusNotifier::alert_host_up( const string &host_address )
+void PingStatusNotifier::notify_host_up( const string &host_address )
{
BOOST_ASSERT( !host_address.empty() );
BOOST_ASSERT( HostsDownList.count( host_address ) == 0 );
}
-void PingStatusNotifier::alert_host_down( const string &host_address )
+void PingStatusNotifier::notify_host_down( const string &host_address )
{
BOOST_ASSERT( !host_address.empty() );
);
virtual ~PingStatusNotifier();
- void alert_host_up( const std::string &host_address );
- void alert_host_down( const std::string &host_address );
+ void notify_host_up( const std::string &host_address );
+ void notify_host_down( const std::string &host_address );
private:
void add_host_up( const std::string &host_address );