7#ifndef HTTP_COMMAND_MGR_H
8#define HTTP_COMMAND_MGR_H
14#include <boost/noncopyable.hpp>
20class HttpCommandMgrImpl;
70 void close(
bool remove =
true);
94 boost::shared_ptr<HttpCommandMgrImpl> impl_;
Command Manager which can delegate commands to a hook library.
HTTP Commands Manager implementation for the Kea servers.
void setIdleConnectionTimeout(const long timeout)
Override default idle connection timeout.
isc::http::ConstHttpListenerPtr getHttpListener() const
Returns a const pointer to the HTTP listener.
void setConnectionTimeout(const long timeout)
Override default connection timeout.
void addExternalSockets(bool use_external=true)
Use external sockets flag.
static HttpCommandMgr & instance()
HttpCommandMgr is a singleton class.
void garbageCollectListeners()
Removes listeners which are no longer in use.
void setIOService(const asiolink::IOServicePtr &io_service)
Sets IO service to be used by the command manager.
void close(bool remove=true)
Close control socket.
void configure(HttpCommandConfigPtr config)
Configure control socket from configuration.
boost::shared_ptr< IOService > IOServicePtr
Defines a smart pointer to an IOService instance.
boost::shared_ptr< HttpCommandConfig > HttpCommandConfigPtr
Pointer to a HttpCommandConfig object.
boost::shared_ptr< const HttpListener > ConstHttpListenerPtr
Pointer to the const HttpListener.
Defines the logger used by the top-level component of kea-lfc.