123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- #ifndef WRITABLE_HOST_DATA_SOURCE_H
- #define WRITABLE_HOST_DATA_SOURCE_H
- namespace isc {
- namespace dhcp {
- class WritableHostDataSource {
- public:
-
- virtual ~WritableHostDataSource() { }
-
-
-
-
-
-
-
-
-
-
-
-
-
- virtual HostCollection
- getAll(const HWAddrPtr& hwaddr, const DuidPtr& duid = DuidPtr()) = 0;
-
-
-
-
-
-
-
-
-
-
-
- virtual HostCollection
- getAll(const Host::IdentifierType& identifier_type,
- const uint8_t* identifier_begin,
- const size_t identifier_len) = 0;
-
-
-
-
-
-
-
-
- virtual HostCollection
- getAll4(const asiolink::IOAddress& address) = 0;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- virtual HostPtr
- get4(const SubnetID& subnet_id, const HWAddrPtr& hwaddr,
- const DuidPtr& duid = DuidPtr()) = 0;
-
-
-
-
-
-
-
-
-
-
- virtual HostPtr
- get4(const SubnetID& subnet_id, const Host::IdentifierType& identifier_type,
- const uint8_t* identifier_begin, const size_t identifier_len) = 0;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- virtual HostPtr
- get6(const SubnetID& subnet_id, const DuidPtr& duid,
- const HWAddrPtr& hwaddr = HWAddrPtr()) = 0;
-
-
-
-
-
-
-
-
-
-
- virtual HostPtr
- get6(const SubnetID& subnet_id, const Host::IdentifierType& identifier_type,
- const uint8_t* identifier_begin, const size_t identifier_len) = 0;
-
-
-
-
-
-
- virtual HostPtr
- get6(const asiolink::IOAddress& prefix, const uint8_t prefix_len) = 0;
- };
- }
- }
- #endif // WRITABLE_HOST_DATA_SOURCE_H
|