7 #ifndef WRITABLE_HOST_DATA_SOURCE_H 8 #define WRITABLE_HOST_DATA_SOURCE_H 41 const uint8_t* identifier_begin,
42 const size_t identifier_len) = 0;
67 const uint8_t* identifier_begin,
const size_t identifier_len) = 0;
81 const uint8_t* identifier_begin,
const size_t identifier_len) = 0;
106 #endif // WRITABLE_HOST_DATA_SOURCE_H virtual HostPtr get4(const SubnetID &subnet_id, const Host::IdentifierType &identifier_type, const uint8_t *identifier_begin, const size_t identifier_len)=0
Returns a host connected to the IPv4 subnet.
boost::shared_ptr< Host > HostPtr
Pointer to the Host object.
virtual HostPtr get6(const SubnetID &subnet_id, const Host::IdentifierType &identifier_type, const uint8_t *identifier_begin, const size_t identifier_len)=0
Returns a host connected to the IPv6 subnet.
Interface for retrieving writable host reservations.
std::vector< HostPtr > HostCollection
Collection of the Host objects.
virtual HostCollection getAll(const Host::IdentifierType &identifier_type, const uint8_t *identifier_begin, const size_t identifier_len)=0
Non-const version of the getAll const method.
virtual HostCollection getAll4(const asiolink::IOAddress &address)=0
Returns a collection of hosts using the specified IPv4 address.
Defines the logger used by the top-level component of kea-dhcp-ddns.
virtual ~WritableHostDataSource()
Default destructor implementation.
IdentifierType
Type of the host identifier.
The IOAddress class represents an IP addresses (version agnostic)
uint32_t SubnetID
Unique identifier for a subnet (both v4 and v6)