45D2Controller::D2Controller()
50D2Controller::parseFile(
const std::string& file_name) {
68 std::stringstream stream;
71 return (stream.str());
A generic exception that is thrown if a parameter given to a method is considered invalid in that con...
static std::string getVersion()
Get version string.
Process Controller for D2 Process This class is the DHCP-DDNS specific derivation of DControllerBase.
static process::DControllerBasePtr & instance()
Static singleton instance method.
static const char * d2_app_name_
Defines the application name, this is passed into base class and appears in log statements.
static const char * d2_bin_name_
Defines the executable name.
virtual std::string getVersionAddendum()
Returns version info specific to D2.
virtual ~D2Controller()
Destructor.
Evaluation context, an interface to the expression evaluation.
@ PARSER_DHCPDDNS
Used for parsing content of DhcpDdns.
isc::data::ElementPtr parseFile(const std::string &filename, ParserType parser_type)
Run the parser on the file specified.
DHCP-DDNS Application Process.
asiolink::IOServicePtr & getIOService()
Getter for fetching the controller's IOService.
static DControllerBasePtr & getController()
Static getter which returns the singleton instance.
static void setController(const DControllerBasePtr &controller)
Static setter which sets the singleton instance.
std::string getAppName() const
Fetches the name of the application under control.
Application Process Interface.
#define isc_throw(type, stream)
A shortcut macro to insert known values into exception arguments.
boost::shared_ptr< const Element > ConstElementPtr
boost::shared_ptr< DControllerBase > DControllerBasePtr
Defines the logger used by the top-level component of kea-dhcp-ddns.