virtual ~StdoutControlSocket()
Destructor (does nothing).
StdoutControlSocket(CfgControlSocketPtr ctrl_sock)
Constructor.
A generic exception that is thrown when a function is not implemented.
ConstElementPtr createAnswer(const int status_code, const std::string &text, const ConstElementPtr &arg)
boost::shared_ptr< ControlSocketBase > ControlSocketBasePtr
Type definition for the pointer to the ControlSocketBase.
void prettyPrint(ConstElementPtr element, std::ostream &out, unsigned indent, unsigned step)
Pretty prints the data into stream.
Base class for control socket communication.
std::ostream & output_
The output stream (std::cout outside tests).
#define isc_throw(type, stream)
A shortcut macro to insert known values into exception arguments.
virtual data::ConstElementPtr configGet(const std::string &service)
Get configuration.
Contains declarations for stdout control socket communication.
boost::shared_ptr< const Element > ConstElementPtr
Defines the logger used by the top-level component of kea-dhcp-ddns.
This file contains several functions and constants that are used for handling commands and responses ...
boost::shared_ptr< StdoutControlSocket > StdoutControlSocketPtr
Type definition for the pointer to the StdoutControlSocket.
virtual data::ConstElementPtr configTest(data::ConstElementPtr config, const std::string &service)
Test configuration.
Class for control socket communication over stdout.
boost::shared_ptr< CfgControlSocket > CfgControlSocketPtr
Defines a pointer for CfgControlSocket instances.
virtual data::ConstElementPtr configSet(data::ConstElementPtr config, const std::string &service)
Set configuration.