MySQL 8.4.2
Source Code Documentation
TlsTraceStream< NameType, LowerLevelStream > Class Template Reference

#include <trace_stream.h>

Inheritance diagram for TlsTraceStream< NameType, LowerLevelStream >:
[legend]

Public Types

using This = TraceStream< NameType, LowerLevelStream >
 
using LowerLayerType = typename LowerLevelStream::LowerLayerType
 
- Public Types inherited from TraceStream< NameType, LowerLevelStream >
using native_handle_type = std::nullptr_t
 
using protocol_type = std::nullptr_t
 
using VectorOfBuffers = std::vector< net::mutable_buffer >
 
using VectorOfConstBuffers = std::vector< net::const_buffer >
 

Public Member Functions

LowerLayerTypelower_layer ()
 
const LowerLayerTypelower_layer () const
 
 TraceStream (TraceStream &&other)
 
template<typename... Args>
 TraceStream (Args &&... args)
 
- Public Member Functions inherited from TraceStream< NameType, LowerLevelStream >
 TraceStream (TraceStream &&other)
 
template<typename... Args>
 TraceStream (Args &&... args)
 
auto get_executor ()
 
LowerLevelStream & lower_layer ()
 
const LowerLevelStream & lower_layer () const
 
template<class MutableBufferSequence >
stdx::expected< size_t, std::error_code > read_some (const MutableBufferSequence &buffers)
 
template<class ConstBufferSequence >
stdx::expected< size_t, std::error_code > write_some (const ConstBufferSequence &buffers)
 
template<typename Buffer , typename Handler >
void async_send (const Buffer &buffer, Handler &&handler)
 
template<typename Buffer , typename Handler >
void async_receive (const Buffer &buffer, Handler &&handler)
 
void set_parent (const char *parent)
 
auto cancel ()
 
auto close ()
 
void handle_read (std::error_code ec, size_t size)
 
void handle_write (std::error_code ec, size_t size)
 
template<typename SettableSocketOption >
stdx::expected< void, std::error_code > set_option (const SettableSocketOption &option)
 
template<typename... Args>
void print (const Args &... args)
 

Additional Inherited Members

- Protected Member Functions inherited from TraceStream< NameType, LowerLevelStream >
template<typename Vector >
void dump (Vector &data, size_t s)
 
template<typename Vector , typename SrcBuffers >
void copy (Vector &dst, const SrcBuffers &src)
 
void print_single ()
 
template<typename Arg , typename... Args>
void print_single (const Arg &arg, const Args... args)
 
template<typename WriteToken , typename StandardToken >
net::tls::LowerLayerWriteCompletionToken< WriteToken, StandardToken > get_write_handler (WriteToken &write_token, StandardToken &std_token)
 
template<typename ReadToken , typename StandardToken >
net::tls::LowerLayerReadCompletionToken< ReadToken, StandardToken > get_read_handler (ReadToken &read_token, StandardToken &std_token)
 
- Protected Attributes inherited from TraceStream< NameType, LowerLevelStream >
VectorOfBuffers recv_buffer_
 
VectorOfConstBuffers send_buffer_
 
LowerLevelStream lower_layer_
 
std::ostream * out_
 
std::string parent_
 

Member Typedef Documentation

◆ LowerLayerType

template<typename NameType , typename LowerLevelStream >
using TlsTraceStream< NameType, LowerLevelStream >::LowerLayerType = typename LowerLevelStream::LowerLayerType

◆ This

template<typename NameType , typename LowerLevelStream >
using TlsTraceStream< NameType, LowerLevelStream >::This = TraceStream<NameType, LowerLevelStream>

Member Function Documentation

◆ lower_layer() [1/2]

template<typename NameType , typename LowerLevelStream >
LowerLayerType & TlsTraceStream< NameType, LowerLevelStream >::lower_layer ( )
inline

◆ lower_layer() [2/2]

template<typename NameType , typename LowerLevelStream >
const LowerLayerType & TlsTraceStream< NameType, LowerLevelStream >::lower_layer ( ) const
inline

◆ TraceStream() [1/2]

template<typename NameType , typename LowerLevelStream >
template<typename... Args>
TraceStream< NameType, LowerLevelStream >::TraceStream ( Args &&...  args)
inline

◆ TraceStream() [2/2]

template<typename NameType , typename LowerLevelStream >
TraceStream< NameType, LowerLevelStream >::TraceStream ( TraceStream &&  other)
inline

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