2 * @brief ODS Service class header. This class represents the ODS service.
6 * @copyright Intra2net AG
13 #include "service.hpp"
16 #include <boost/shared_ptr.hpp>
20 class ServiceOds : public Service
25 friend class boost::serialization::access;
26 template<class Archive>
27 void serialize(Archive & ar, const unsigned int version)
29 ar & boost::serialization::base_object<Service>(*this);
32 std::string UpdateServer;
37 typedef boost::shared_ptr<ServiceOds> Ptr;
41 ServiceOds(const std::string& _protocol, const std::string& _hostname, const std::string& _login, const std::string& _password, const Logger::Ptr& _logger, const int _update_interval, const int _max_updates_within_interval, const int _max_equal_updates_in_succession, const int dns_cache_ttl);
45 int perform_update(const std::string& ip);