give HostStatus analyzer more info: details on ping success/failure and ping duration
[pingcheck] / src / host / hoststatus.h
index c5f558d..a167afe 100644 (file)
@@ -22,6 +22,7 @@ on this file might be covered by the GNU General Public License.
 
 #include <string>
 
+#include "host/pingstatus.h"
 #include "link/linkstatus.h"
 
 //-----------------------------------------------------------------------------
@@ -45,7 +46,8 @@ public:
 
     void set_resolved_ip_count( const int resolved_ip_count );
     bool exceeded_ping_failed_limit() const;
-    void update_ping_statistics( bool ping_success );
+    void update_ping_statistics( const PingStatus &ping_success,
+                                 const long ping_duration_us );
 
 private:
     bool tried_all_resolved_ip() const;