2 * @brief GNUDIP Service class header. This class represents the GNUDIP service.
6 * @copyright Intra2net AG
10 #ifndef ServiceGnudipFullhostname_H
11 #define ServiceGnudipFullhostname_H
13 #include "service_gnudip.hpp"
15 class ServiceGnudipFullhostname : public ServiceGnudip
20 friend class boost::serialization::access;
21 template<class Archive>
22 void serialize(Archive & ar, const unsigned int version)
24 ar & boost::serialization::base_object<ServiceGnudip>(*this);
27 std::string assemble_update_url(const std::string& salt, const std::string& curr_time, const std::string& sign, const std::string& secret, const std::string& ip) const;
31 typedef boost::shared_ptr<ServiceGnudipFullhostname> Ptr;
33 ServiceGnudipFullhostname();
35 ServiceGnudipFullhostname(const std::string& _protocol, const std::string& _gnudip_server ,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, const std::string& proxy, const int proxy_port);
37 ~ServiceGnudipFullhostname();