13#include <boost/shared_ptr.hpp>
51 const std::string& description =
"");
62 return (server_tag_.
get());
70 return (description_);
84 std::string description_;
This class represents configuration element which is associated with database identifier and the modi...
std::string get() const
Returns server tag as string.
Represents information about a Kea server in the database.
static ServerPtr create(const data::ServerTag &tag, const std::string &description="")
Factory function to be used to create an instance of the Server object.
virtual data::ElementPtr toElement() const
Unparses server object.
std::string getServerTagAsText() const
Returns server tag as text.
data::ServerTag getServerTag() const
Returns server tag.
Server(const data::ServerTag &tag, const std::string &description)
Constructor.
std::string getDescription() const
Returns the description of the server.
boost::shared_ptr< Element > ElementPtr
boost::shared_ptr< Server > ServerPtr
Shared pointer to the Server class.
Defines the logger used by the top-level component of kea-lfc.
Abstract class for configuration Cfg_* classes.