#include <dhcpsrv/cfg_multi_threading.h>
#include <dhcpsrv/cfgmgr.h>
#include <dhcpsrv/db_type.h>
+#include <dhcpsrv/host_mgr.h>
#include <hooks/hooks.h>
#include <hooks/hooks_manager.h>
#include <stats/stats_mgr.h>
#include <dhcpsrv/cfg_multi_threading.h>
#include <dhcpsrv/cfgmgr.h>
#include <dhcpsrv/db_type.h>
+#include <dhcpsrv/host_mgr.h>
#include <hooks/hooks.h>
#include <hooks/hooks_manager.h>
#include <stats/stats_mgr.h>
return (ip_reservations_unique_);
}
+ /// @brief Sets IO service to be used by the Host Manager.
+ ///
+ /// @param IOService object, used for all ASIO operations.
+ static void setIOService(const isc::asiolink::IOServicePtr& io_service) {
+ io_service_ = io_service;
+ }
+
+ /// @brief Returns pointer to the IO service.
+ static isc::asiolink::IOServicePtr& getIOService() {
+ return (io_service_);
+ }
+
protected:
/// @brief The negative caching flag.
///
const uint8_t* identifier_begin,
const size_t identifier_len) const;
- /// @brief Sets IO service to be used by the Host Manager.
- ///
- /// @param IOService object, used for all ASIO operations.
- static void setIOService(const isc::asiolink::IOServicePtr& io_service) {
- io_service_ = io_service;
- }
-
- /// @brief Returns pointer to the IO service.
- static isc::asiolink::IOServicePtr& getIOService() {
- return (io_service_);
- }
-
private:
/// @brief Indicates if backends are running in the mode in which IP