22 const char* D2Controller::d2_app_name_ =
"DhcpDdns";
25 const char* D2Controller::d2_bin_name_ =
"kea-dhcp-ddns";
28 D2Controller::instance() {
31 if (!getController()) {
33 setController(controller_ptr);
36 return (getController());
42 return (
new D2Process(getAppName().c_str(), getIOService()));
45 D2Controller::D2Controller()
50 D2Controller::parseFile(
const std::string& file_name) {
68 std::stringstream stream;
71 return (stream.str());
boost::shared_ptr< DControllerBase > DControllerBasePtr
Evaluation context, an interface to the expression evaluation.
virtual ~D2Controller()
Destructor.
#define isc_throw(type, stream)
A shortcut macro to insert known values into exception arguments.
A generic exception that is thrown if a parameter given to a method is considered invalid in that con...
DHCP-DDNS Application Process.
boost::shared_ptr< const Element > ConstElementPtr
Defines the logger used by the top-level component of kea-dhcp-ddns.
isc::data::ElementPtr parseFile(const std::string &filename, ParserType parser_type)
Run the parser on the file specified.
Used for parsing content of DhcpDdns.
virtual std::string getVersionAddendum()
Returns version info specific to D2.
Application Process Interface.
static std::string getVersion()
Get version string.
Process Controller for D2 Process This class is the DHCP-DDNS specific derivation of DControllerBase.