public:
LinkStatus(
const int hosts_down_limit,
- const int link_up_interval_in_min,
- const int link_down_interval_in_min,
+ const int link_up_interval_in_sec,
+ const int link_down_interval_in_sec,
const std::string &status_notifier_cmd
);
~LinkStatus();
/// List of hosts down (obvious isn't it?)
std::set<std::string> HostsDownList;
/// Interval the link have to be stable in order to consider it is functional
- const int LinkUpIntervalInMin;
+ const int LinkUpIntervalInSec;
/// Interval the link have to be down in order to consider it is non-functional
- const int LinkDownIntervalInMin;
+ const int LinkDownIntervalInSec;
/// Keep track of the actual link status
LinkStatus::Status CurrentLinkStatus;
/// Indicates if the last link status change was notified