A generic exception that is thrown when a function is not implemented.
Base class for control socket communication.
Class for control socket communication over stdout.
data::ConstElementPtr configGet(const std::string &service) override final
Get configuration.
data::ConstElementPtr configSet(data::ElementPtr config, const std::string &service) override final
Set configuration.
StdoutControlSocket(CfgControlSocketPtr ctrl_sock)
Constructor.
data::ConstElementPtr configTest(data::ElementPtr config, const std::string &service) override final
Test configuration.
std::ostream & output_
The output stream (std::cout outside tests).
This file contains several functions and constants that are used for handling commands and responses ...
#define isc_throw(type, stream)
A shortcut macro to insert known values into exception arguments.
ConstElementPtr createAnswer()
Creates a standard config/command level success answer message (i.e.
void prettyPrint(ConstElementPtr element, std::ostream &out, unsigned indent, unsigned step)
Pretty prints the data into stream.
boost::shared_ptr< const Element > ConstElementPtr
boost::shared_ptr< Element > ElementPtr
std::shared_ptr< ControlSocketBase > ControlSocketBasePtr
Type definition for the pointer to the ControlSocketBase.
ControlSocketBasePtr createControlSocket< CfgControlSocket::Type::STDOUT >(CfgControlSocketPtr ctrl_sock)
Factory template specialization for stdout control sockets.
std::shared_ptr< CfgControlSocket > CfgControlSocketPtr
Defines a pointer for CfgControlSocket instances.
std::shared_ptr< StdoutControlSocket > StdoutControlSocketPtr
Type definition for the pointer to the StdoutControlSocket.
Defines the logger used by the top-level component of kea-lfc.
Contains declarations for stdout control socket communication.