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>
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.
The TLSSocket class is a concrete derived class of IOAsioSocket that represents a TLS socket.
virtual TlsStream< C >::lowest_layer_type & getASIOSocket() const
Returns reference to the underlying ASIO socket.
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.