Kea 2.7.0
isc::asiolink::TLSAcceptor< C > Class Template Reference

Provides a service for accepting new TLS connections. More...

#include <tls_acceptor.h>

+ Inheritance diagram for isc::asiolink::TLSAcceptor< C >:

Public Member Functions

 TLSAcceptor (const IOServicePtr &io_service)
virtual ~TLSAcceptor ()
template<typename SocketCallback >
void asyncAccept (const TLSSocket< SocketCallback > &socket, C &callback)
 Asynchronously accept new connection.

Additional Inherited Members

Detailed Description

template<typename C>
class isc::asiolink::TLSAcceptor< C >

Provides a service for accepting new TLS connections.

Template Parameters
CAcceptor callback type.

Definition at line 31 of file tls_acceptor.h.

Constructor & Destructor Documentation

◆ TLSAcceptor()

template<typename C >
isc::asiolink::TLSAcceptor< C >::TLSAcceptor ( const IOServicePtr & io_service)


io_serviceIO service.

Definition at line 37 of file tls_acceptor.h.

◆ ~TLSAcceptor()

template<typename C >
virtual isc::asiolink::TLSAcceptor< C >::~TLSAcceptor ( )


Definition at line 41 of file tls_acceptor.h.

Member Function Documentation

◆ asyncAccept()

template<typename C >
template<typename SocketCallback >
void isc::asiolink::TLSAcceptor< C >::asyncAccept ( const TLSSocket< SocketCallback > & socket,
C & callback )

Asynchronously accept new connection.

This method accepts new connection into the specified socket. When the new connection arrives or an error occurs the specified callback function is invoked.

socketSocket into which connection should be accepted.
callbackCallback function to be invoked when the new connection arrives.
Template Parameters
SocketCallbackType of the callback for the TLSSocket.

Definition at line 55 of file tls_acceptor.h.

The documentation for this class was generated from the following file: