7#ifndef UNIX_COMMAND_MGR_H
8#define UNIX_COMMAND_MGR_H
13#include <boost/noncopyable.hpp>
14#include <boost/shared_ptr.hpp>
33class UnixCommandMgrImpl;
91 boost::shared_ptr<UnixCommandMgrImpl> impl_;
This is a base class for exceptions thrown from the DNS library module.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
An exception indicating that specified socket parameters are invalid.
BadSocketInfo(const char *file, size_t line, const char *what)
An exception indicating a problem with socket operation.
SocketError(const char *file, size_t line, const char *what)
Unix Commands Manager implementation for the Kea servers.
static UnixCommandMgr & instance()
UnixCommandMgr is a singleton class.
int getControlSocketFD()
Returns unix control socket descriptor.
void setIOService(const asiolink::IOServicePtr &io_service)
Sets IO service to be used by the unix command manager.
void closeCommandSocket()
Shuts down any open unix control sockets.
void openCommandSocket(const isc::data::ConstElementPtr &socket_info)
Opens unix control socket with parameters specified in socket_info (required parameters: socket-type:...
void addExternalSockets(bool use_external=true)
Use external sockets flag.
void setConnectionTimeout(const long timeout)
Override default connection timeout.
boost::shared_ptr< IOService > IOServicePtr
Defines a smart pointer to an IOService instance.
boost::shared_ptr< const Element > ConstElementPtr
Defines the logger used by the top-level component of kea-lfc.