11#error "asio.hpp must be included before including this, see asiolink.h as to why"
21#include <boost/shared_ptr.hpp>
22#include <netinet/in.h>
54 template<
typename SocketCallback>
55 void asyncAccept(
const TLSSocket<SocketCallback>& socket, C& callback) {
Provides a service for accepting new TCP connections.
Provides a service for accepting new TLS connections.
void asyncAccept(const TLSSocket< SocketCallback > &socket, C &callback)
Asynchronously accept new connection.
virtual ~TLSAcceptor()
Destructor.
TLSAcceptor(const IOServicePtr &io_service)
Constructor.
A wrapper interface for the ASIO library.
boost::shared_ptr< IOService > IOServicePtr
Defines a smart pointer to an IOService instance.
Defines the logger used by the top-level component of kea-lfc.