14 #include <boost/noncopyable.hpp>
15 #include <boost/shared_ptr.hpp>
88 boost::shared_ptr<CommandMgrImpl> impl_;
An exception indicating a problem with socket operation.
SocketError(const char *file, size_t line, const char *what)
boost::shared_ptr< IOService > IOServicePtr
Defines a smart pointer to an IOService instance.
An exception indicating that specified socket parameters are invalid.
Command Manager which can delegate commands to a hook library.
void closeCommandSocket()
Shuts down any open control sockets.
boost::shared_ptr< const Element > ConstElementPtr
void setConnectionTimeout(const long timeout)
Override default connection timeout.
void setIOService(const asiolink::IOServicePtr &io_service)
Sets IO service to be used by the command manager.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
This is a base class for exceptions thrown from the DNS library module.
void openCommandSocket(const isc::data::ConstElementPtr &socket_info)
Opens control socket with parameters specified in socket_info.
Defines the logger used by the top-level component of kea-dhcp-ddns.
Commands Manager implementation for the Kea servers.
int getControlSocketFD()
Returns control socket descriptor.
BadSocketInfo(const char *file, size_t line, const char *what)
static CommandMgr & instance()
CommandMgr is a singleton class.