15#include <boost/shared_ptr.hpp>
29class HttpListenerImpl;
101 const unsigned short server_port,
135 boost::shared_ptr<HttpListenerImpl>
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.
The IOAddress class represents an IP addresses (version agnostic)
A generic error raised by the HttpListener class.
HttpListenerError(const char *file, size_t line, const char *what)
uint16_t getLocalPort() const
Returns local port on which server is listening.
asiolink::IOAddress getLocalAddress() const
Returns local address on which server is listening.
~HttpListener()
Destructor.
void stop()
Stops all active connections and shuts down the service.
void start()
Starts accepting new connections.
boost::shared_ptr< HttpListenerImpl > impl_
Pointer to the implementation of the HttpListener.
boost::shared_ptr< TlsContext > TlsContextPtr
The type of shared pointers to TlsContext objects.
boost::shared_ptr< IOService > IOServicePtr
Defines a smart pointer to an IOService instance.
boost::shared_ptr< const HttpListener > ConstHttpListenerPtr
Pointer to the const HttpListener.
boost::shared_ptr< HttpListener > HttpListenerPtr
Pointer to the HttpListener.
boost::shared_ptr< HttpResponseCreatorFactory > HttpResponseCreatorFactoryPtr
Pointer to the HttpResponseCreatorFactory.
Defines the logger used by the top-level component of kea-lfc.
long value_
Connection idle timeout value specified.
IdleTimeout(long value)
Constructor.
HTTP request timeout value.
RequestTimeout(long value)
Constructor.
long value_
Request timeout value specified.