| 1487 | } |
| 1488 | |
| 1489 | String DbEvents::GetHostStateString(const Host::Ptr& host) |
| 1490 | { |
| 1491 | if (host->GetState() != HostUp && !host->IsReachable()) |
| 1492 | return "UNREACHABLE"; /* hardcoded compat state */ |
| 1493 | |
| 1494 | return Host::StateToString(host->GetState()); |
| 1495 | } |
| 1496 | |
| 1497 | std::pair<unsigned long, unsigned long> DbEvents::ConvertTimestamp(double time) |
| 1498 | { |
nothing calls this directly
no test coverage detected