{
return GetServices().size();
}
+
void Host::InvalidateServicesCache(void)
{
{
return m_ShortName;
}
+bool Service::IsHostCheck(void) const
+{
+ ASSERT(!OwnsLock());
+
+ Service::Ptr hc = GetHost()->GetHostCheckService();
+
+ if (!hc)
+ return false;
+
+ return (hc->GetName() == GetName());
+
+}
+
bool Service::IsReachable(void) const
{
ASSERT(!OwnsLock());
std::set<Host::Ptr> GetParentHosts(void) const;
std::set<Service::Ptr> GetParentServices(void) const;
+ bool IsHostCheck(void) const;
+
bool IsVolatile(void) const;
bool IsReachable(void) const;