20 const unsigned short server_port,
26 tls_context, creator_factory,
27 request_timeout.value_,
28 idle_timeout.value_)) {
37 return (
impl_->getEndpoint().getAddress());
42 return (
impl_->getEndpoint().getPort());
~HttpListener()
Destructor.
boost::shared_ptr< HttpResponseCreatorFactory > HttpResponseCreatorFactoryPtr
Pointer to the HttpResponseCreatorFactory.
Implementation of the HttpListener.
void start()
Starts accepting new connections.
boost::shared_ptr< HttpListenerImpl > impl_
Pointer to the implementation of the HttpListener.
The IOService class is a wrapper for the ASIO io_service class.
boost::shared_ptr< TlsContext > TlsContextPtr
The type of shared pointers to TlsContext objects.
asiolink::IOAddress getLocalAddress() const
Returns local address on which server is listening.
Defines the logger used by the top-level component of kea-dhcp-ddns.
void stop()
Stops all active connections and shuts down the service.
uint16_t getLocalPort() const
Returns local port on which server is listening.
The IOAddress class represents an IP addresses (version agnostic)
HTTP request timeout value.