#include <trace_stream.h>
|
| 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<class HandshakeType , class CompletionToken > |
auto | async_handshake (HandshakeType type, CompletionToken &&token) |
|
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) |
|
void | handle_handshake (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) |
|
|
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) |
|
template<typename HandshakeToken , typename StandardToken > |
net::tls::LowerLayerHandshakeCompletionToken< HandshakeToken, StandardToken > | get_handshake_handler (HandshakeToken &handshake_token, StandardToken &std_token) |
|
◆ endpoint_type
template<typename NameType , typename LowerLevelStream >
◆ native_handle_type
template<typename NameType , typename LowerLevelStream >
◆ protocol_type
template<typename NameType , typename LowerLevelStream >
◆ VectorOfBuffers
template<typename NameType , typename LowerLevelStream >
◆ VectorOfConstBuffers
template<typename NameType , typename LowerLevelStream >
◆ TraceStream() [1/2]
template<typename NameType , typename LowerLevelStream >
◆ TraceStream() [2/2]
template<typename NameType , typename LowerLevelStream >
template<typename... Args>
◆ async_handshake()
template<typename NameType , typename LowerLevelStream >
template<class HandshakeType , class CompletionToken >
auto TraceStream< NameType, LowerLevelStream >::async_handshake |
( |
HandshakeType |
type, |
|
|
CompletionToken && |
token |
|
) |
| |
|
inline |
◆ async_receive()
template<typename NameType , typename LowerLevelStream >
template<typename Buffer , typename Handler >
void TraceStream< NameType, LowerLevelStream >::async_receive |
( |
const Buffer & |
buffer, |
|
|
Handler && |
handler |
|
) |
| |
|
inline |
◆ async_send()
template<typename NameType , typename LowerLevelStream >
template<typename Buffer , typename Handler >
void TraceStream< NameType, LowerLevelStream >::async_send |
( |
const Buffer & |
buffer, |
|
|
Handler && |
handler |
|
) |
| |
|
inline |
◆ cancel()
template<typename NameType , typename LowerLevelStream >
auto TraceStream< NameType, LowerLevelStream >::cancel |
( |
| ) |
|
|
inline |
◆ close()
template<typename NameType , typename LowerLevelStream >
auto TraceStream< NameType, LowerLevelStream >::close |
( |
| ) |
|
|
inline |
◆ copy()
template<typename NameType , typename LowerLevelStream >
template<typename Vector , typename SrcBuffers >
void TraceStream< NameType, LowerLevelStream >::copy |
( |
Vector & |
dst, |
|
|
const SrcBuffers & |
src |
|
) |
| |
|
inlineprotected |
◆ dump()
template<typename NameType , typename LowerLevelStream >
template<typename Vector >
void TraceStream< NameType, LowerLevelStream >::dump |
( |
Vector & |
data, |
|
|
size_t |
s |
|
) |
| |
|
inlineprotected |
◆ get_executor()
template<typename NameType , typename LowerLevelStream >
auto TraceStream< NameType, LowerLevelStream >::get_executor |
( |
| ) |
|
|
inline |
◆ get_handshake_handler()
template<typename NameType , typename LowerLevelStream >
template<typename HandshakeToken , typename StandardToken >
◆ get_read_handler()
template<typename NameType , typename LowerLevelStream >
template<typename ReadToken , typename StandardToken >
◆ get_write_handler()
template<typename NameType , typename LowerLevelStream >
template<typename WriteToken , typename StandardToken >
◆ handle_handshake()
template<typename NameType , typename LowerLevelStream >
void TraceStream< NameType, LowerLevelStream >::handle_handshake |
( |
std::error_code |
ec, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ handle_read()
template<typename NameType , typename LowerLevelStream >
void TraceStream< NameType, LowerLevelStream >::handle_read |
( |
std::error_code |
ec, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ handle_write()
template<typename NameType , typename LowerLevelStream >
void TraceStream< NameType, LowerLevelStream >::handle_write |
( |
std::error_code |
ec, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ lower_layer() [1/2]
template<typename NameType , typename LowerLevelStream >
LowerLevelStream & TraceStream< NameType, LowerLevelStream >::lower_layer |
( |
| ) |
|
|
inline |
◆ lower_layer() [2/2]
template<typename NameType , typename LowerLevelStream >
const LowerLevelStream & TraceStream< NameType, LowerLevelStream >::lower_layer |
( |
| ) |
const |
|
inline |
◆ print()
template<typename NameType , typename LowerLevelStream >
template<typename... Args>
void TraceStream< NameType, LowerLevelStream >::print |
( |
const Args &... |
args | ) |
|
|
inline |
◆ print_single() [1/2]
template<typename NameType , typename LowerLevelStream >
void TraceStream< NameType, LowerLevelStream >::print_single |
( |
| ) |
|
|
inlineprotected |
◆ print_single() [2/2]
template<typename NameType , typename LowerLevelStream >
template<typename Arg , typename... Args>
void TraceStream< NameType, LowerLevelStream >::print_single |
( |
const Arg & |
arg, |
|
|
const Args... |
args |
|
) |
| |
|
inlineprotected |
◆ read_some()
template<typename NameType , typename LowerLevelStream >
template<class MutableBufferSequence >
stdx::expected< size_t, std::error_code > TraceStream< NameType, LowerLevelStream >::read_some |
( |
const MutableBufferSequence & |
buffers | ) |
|
|
inline |
◆ set_option()
template<typename NameType , typename LowerLevelStream >
template<typename SettableSocketOption >
stdx::expected< void, std::error_code > TraceStream< NameType, LowerLevelStream >::set_option |
( |
const SettableSocketOption & |
option | ) |
|
|
inline |
◆ set_parent()
template<typename NameType , typename LowerLevelStream >
void TraceStream< NameType, LowerLevelStream >::set_parent |
( |
const char * |
parent | ) |
|
|
inline |
◆ write_some()
template<typename NameType , typename LowerLevelStream >
template<class ConstBufferSequence >
stdx::expected< size_t, std::error_code > TraceStream< NameType, LowerLevelStream >::write_some |
( |
const ConstBufferSequence & |
buffers | ) |
|
|
inline |
◆ lower_layer_
template<typename NameType , typename LowerLevelStream >
LowerLevelStream TraceStream< NameType, LowerLevelStream >::lower_layer_ |
|
protected |
◆ out_
template<typename NameType , typename LowerLevelStream >
std::ostream* TraceStream< NameType, LowerLevelStream >::out_ |
|
protected |
◆ parent_
template<typename NameType , typename LowerLevelStream >
std::string TraceStream< NameType, LowerLevelStream >::parent_ |
|
protected |
◆ recv_buffer_
template<typename NameType , typename LowerLevelStream >
◆ send_buffer_
template<typename NameType , typename LowerLevelStream >
The documentation for this class was generated from the following file: