1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
6 #include "db_ido/dbobject.hpp"
7 #include "base/configobject.hpp"
13 * A Host database object.
17 class HostDbObject final : public DbObject
20 DECLARE_PTR_TYPEDEFS(HostDbObject);
22 HostDbObject(const DbType::Ptr& type, const String& name1, const String& name2);
24 Dictionary::Ptr GetConfigFields() const override;
25 Dictionary::Ptr GetStatusFields() const override;
27 void OnConfigUpdateHeavy() override;
28 void OnConfigUpdateLight() override;
30 String CalculateConfigHash(const Dictionary::Ptr& configFields) const override;
33 void DoCommonConfigUpdate();
38 #endif /* HOSTDBOBJECT_H */