 |
Kea
1.5.0
|
Go to the documentation of this file.
6 #ifndef _USER_DATA_SOURCE_H
7 #define _USER_DATA_SOURCE_H
Defines an interface for reading user data into a registry.
virtual void close()=0
Closes that data source.
Exception(const char *file, size_t line, const char *what)
Constructor for a given type for exceptions with file name and file line number.
virtual UserPtr readNextUser()=0
Fetches the next user from the data source.
virtual void open()=0
Opens the data source.
boost::shared_ptr< UserDataSource > UserDataSourcePtr
Defines a smart pointer to a UserDataSource.
This is a base class for exceptions thrown from the DNS library module.
Defines the logger used by the top-level component of kea-dhcp-ddns.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
virtual bool isOpen() const =0
Returns true if the data source is open.
Defines the logger used by the user check hooks library.
virtual ~UserDataSource()
Virtual Destructor.
These classes are used to describe and recognize DHCP lease clients.
Thrown if UserDataSource encounters an error.
UserDataSource()
Constructor.
UserDataSourceError(const char *file, size_t line, const char *what)
boost::shared_ptr< User > UserPtr
Defines a smart pointer to a User.