* Re-sends all notifications previously suppressed by e.g. downtimes if the notification reason still applies. */
| 243 | * Re-sends all notifications previously suppressed by e.g. downtimes if the notification reason still applies. |
| 244 | */ |
| 245 | void Checkable::FireSuppressedNotificationsTimer(const Timer * const&) |
| 246 | { |
| 247 | for (auto& host : ConfigType::GetObjectsByType<Host>()) { |
| 248 | host->FireSuppressedNotifications(); |
| 249 | } |
| 250 | |
| 251 | for (auto& service : ConfigType::GetObjectsByType<Service>()) { |
| 252 | service->FireSuppressedNotifications(); |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | /** |
| 257 | * Returns whether sending a notification of type type right now would represent *this' current state correctly. |
nothing calls this directly
no test coverage detected