 |
Kea
1.5.0
|
Go to the documentation of this file.
10 #ifndef CONTROL_SOCKET_H
11 #define CONTROL_SOCKET_H
42 "with a null configuration");
89 const std::string& service) = 0;
100 const std::string& service) = 0;
131 #endif // CONTROL_SOCKET_H
ControlSocketError(const char *file, size_t line, const char *what)
virtual ~ControlSocketBase()
Destructor (does nothing).
Exception thrown when the error during communication.
const isc::http::Url getUrl() const
Returns the HTTP server URL.
CfgControlSocketPtr socket_cfg_
The control socket configuration.
virtual data::ConstElementPtr configGet(const std::string &service)=0
Get configuration.
virtual data::ConstElementPtr configSet(data::ConstElementPtr config, const std::string &service)=0
Set configuration.
This is a base class for exceptions thrown from the DNS library module.
Defines the logger used by the top-level component of kea-dhcp-ddns.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
#define isc_throw(type, stream)
A shortcut macro to insert known values into exception arguments.
A collection of classes for housing and parsing the application configuration necessary for the Netco...
const std::string getName() const
Returns the Unix socket name.
CfgControlSocket::Type getType() const
Getter which returns the socket type.
boost::shared_ptr< ControlSocketBase > ControlSocketBasePtr
Type definition for the pointer to the ControlSocketBase.
Type
Defines the list of possible constrol socket types.
boost::shared_ptr< CfgControlSocket > CfgControlSocketPtr
Defines a pointer for CfgControlSocket instances.
ControlSocketBasePtr createControlSocket(CfgControlSocketPtr ctrl_sock)
Factory template for control sockets.
A generic exception that is thrown when a function is not implemented.
virtual data::ConstElementPtr configTest(data::ConstElementPtr config, const std::string &service)=0
Test configuration.
boost::shared_ptr< const Element > ConstElementPtr
Base class for control socket communication.
ControlSocketBase(CfgControlSocketPtr ctrl_sock)
Constructor.