- Info 1736: Redundant access specifier (private);
void stop_pinging_thread();
private:
+ //
+ // Methods
+ //
+
bool start_pinging();
void stop_pinging();
void update_ping_interval();
void update_ping_elapsed_time();
-private:
+ //
+ // Attributes
+ //
+
/// Service object, which has the event loop
boost::asio::io_service IoService;
/// Name of the network device used to send the packets
void notify_host_down( const std::string &host_address );
private:
+ //
+ // Types
+ //
+
enum LinkStatus
{
LinkStatus_Up,
NotificationStatus_Reported
};
-private:
+ //
+ // Methods
+ //
+
void add_host_up( const std::string &host_address );
void add_host_down( const std::string &host_address );
const LinkStatusAnalyzer::LinkStatus new_link_status
);
-private:
+ //
+ // Attributes
+ //
+
/// the maximum amount of hosts which can be down before sound the alarm
const int HostsDownLimit;
/// list of hosts down (obvious isn't it?)