MySQL 9.1.0
Source Code Documentation
net::tls::LowerLayerHandshakeCompletionToken< FirstToken, SecondToken > Class Template Reference

#include <lower_layer_completion.h>

Public Types

using First_token_type = std::decay_t< FirstToken >
 
using Second_token_type = std::decay_t< SecondToken >
 

Public Member Functions

 LowerLayerHandshakeCompletionToken (const LowerLayerHandshakeCompletionToken &other)
 
 LowerLayerHandshakeCompletionToken (LowerLayerHandshakeCompletionToken &&other)
 
 LowerLayerHandshakeCompletionToken (FirstToken &token, SecondToken &second_token)
 
 LowerLayerHandshakeCompletionToken (FirstToken &&token, SecondToken &&second_token)
 
void operator() (std::error_code ec, size_t size) const
 

Private Types

using First_handler_type = std::conditional_t< std::is_same< FirstToken, First_token_type >::value, First_token_type &, First_token_type >
 
using Second_handler_type = std::conditional_t< std::is_same< SecondToken, Second_token_type >::value, Second_token_type &, Second_token_type >
 

Private Attributes

FirstToken first_token_
 
SecondToken second_token_
 

Member Typedef Documentation

◆ First_handler_type

template<typename FirstToken , typename SecondToken = NOP_token>
using net::tls::LowerLayerHandshakeCompletionToken< FirstToken, SecondToken >::First_handler_type = std::conditional_t<std::is_same<FirstToken, First_token_type>::value, First_token_type &, First_token_type>
private

◆ First_token_type

template<typename FirstToken , typename SecondToken = NOP_token>
using net::tls::LowerLayerHandshakeCompletionToken< FirstToken, SecondToken >::First_token_type = std::decay_t<FirstToken>

◆ Second_handler_type

template<typename FirstToken , typename SecondToken = NOP_token>
using net::tls::LowerLayerHandshakeCompletionToken< FirstToken, SecondToken >::Second_handler_type = std::conditional_t<std::is_same<SecondToken, Second_token_type>::value, Second_token_type &, Second_token_type>
private

◆ Second_token_type

template<typename FirstToken , typename SecondToken = NOP_token>
using net::tls::LowerLayerHandshakeCompletionToken< FirstToken, SecondToken >::Second_token_type = std::decay_t<SecondToken>

Constructor & Destructor Documentation

◆ LowerLayerHandshakeCompletionToken() [1/4]

template<typename FirstToken , typename SecondToken = NOP_token>
net::tls::LowerLayerHandshakeCompletionToken< FirstToken, SecondToken >::LowerLayerHandshakeCompletionToken ( const LowerLayerHandshakeCompletionToken< FirstToken, SecondToken > &  other)
inline

◆ LowerLayerHandshakeCompletionToken() [2/4]

template<typename FirstToken , typename SecondToken = NOP_token>
net::tls::LowerLayerHandshakeCompletionToken< FirstToken, SecondToken >::LowerLayerHandshakeCompletionToken ( LowerLayerHandshakeCompletionToken< FirstToken, SecondToken > &&  other)
inline

◆ LowerLayerHandshakeCompletionToken() [3/4]

template<typename FirstToken , typename SecondToken = NOP_token>
net::tls::LowerLayerHandshakeCompletionToken< FirstToken, SecondToken >::LowerLayerHandshakeCompletionToken ( FirstToken &  token,
SecondToken &  second_token 
)
inline

◆ LowerLayerHandshakeCompletionToken() [4/4]

template<typename FirstToken , typename SecondToken = NOP_token>
net::tls::LowerLayerHandshakeCompletionToken< FirstToken, SecondToken >::LowerLayerHandshakeCompletionToken ( FirstToken &&  token,
SecondToken &&  second_token 
)
inline

Member Function Documentation

◆ operator()()

template<typename FirstToken , typename SecondToken = NOP_token>
void net::tls::LowerLayerHandshakeCompletionToken< FirstToken, SecondToken >::operator() ( std::error_code  ec,
size_t  size 
) const
inline

Member Data Documentation

◆ first_token_

template<typename FirstToken , typename SecondToken = NOP_token>
FirstToken net::tls::LowerLayerHandshakeCompletionToken< FirstToken, SecondToken >::first_token_
mutableprivate

◆ second_token_

template<typename FirstToken , typename SecondToken = NOP_token>
SecondToken net::tls::LowerLayerHandshakeCompletionToken< FirstToken, SecondToken >::second_token_
mutableprivate

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