|
static stdx::expected< void, std::error_code > | ensure_has_msg_prefix (Channel &src_channel, ClassicProtocolState &src_protocol) |
| ensure message has a frame-header and msg-type. More...
|
|
template<class Proto > |
static stdx::expected< void, std::error_code > | ensure_has_msg_prefix (TlsSwitchableConnection< Proto > &conn) |
|
static stdx::expected< void, std::error_code > | ensure_has_full_frame (Channel &src_channel, ClassicProtocolState &src_protocol) |
|
template<class Proto > |
static stdx::expected< void, std::error_code > | ensure_has_full_frame (TlsSwitchableConnection< Proto > &conn) |
|
static stdx::expected< size_t, std::error_code > | recv_frame_sequence (Channel &src_channel, ClassicProtocolState &src_protocol) |
| recv a full message sequence into the channel's recv_plain_buffer() More...
|
|
static stdx::expected< void, std::error_code > | ensure_server_greeting (Channel &src_channel, ClassicProtocolState &src_protocol) |
|
static stdx::expected< void, std::error_code > | ensure_frame_header (Channel &src_channel, ClassicProtocolState &src_protocol) |
| ensure current_frame() has a current frame-info. More...
|
|
template<class Proto > |
static stdx::expected< void, std::error_code > | ensure_frame_header (TlsSwitchableConnection< Proto > &conn) |
|
template<class T > |
static constexpr uint8_t | cmd_byte () |
|
template<class Msg , class Proto > |
static stdx::expected< Msg, std::error_code > | recv_msg (Channel &src_channel, Proto &src_protocol, classic_protocol::capabilities::value_type caps) |
| receive a classic protocol message frame from a channel. More...
|
|
template<class Msg , class Proto > |
static stdx::expected< Msg, std::error_code > | recv_msg (Channel &src_channel, Proto &src_protocol) |
|
template<class Msg , class Proto > |
static stdx::expected< Msg, std::error_code > | recv_msg (TlsSwitchableConnection< Proto > &conn) |
|
template<class Msg , class Proto >
requires ( (std::is_same_v< Msg, classic_protocol::borrowed::message::client::StmtExecute> && std::is_same_v<Proto, ClientSideClassicProtocolState>)) |
static stdx::expected< Msg, std::error_code > | recv_msg (Channel &src_channel, Proto &src_protocol, classic_protocol::capabilities::value_type caps) |
| receive a StmtExecute message from a channel. More...
|
|
template<class Msg > |
static stdx::expected< size_t, std::error_code > | send_msg (Channel &dst_channel, ClassicProtocolState &dst_protocol, Msg msg, classic_protocol::capabilities::value_type caps) |
|
template<class Msg > |
static stdx::expected< size_t, std::error_code > | send_msg (Channel &dst_channel, ClassicProtocolState &dst_protocol, Msg msg) |
|
template<class Msg , class Proto > |
static stdx::expected< size_t, std::error_code > | send_msg (TlsSwitchableConnection< Proto > &conn, Msg msg, classic_protocol::capabilities::value_type caps) |
|
template<class Msg , class Proto > |
static stdx::expected< size_t, std::error_code > | send_msg (TlsSwitchableConnection< Proto > &conn, Msg msg) |
|
static void | trace_set_attributes (TraceEvent *ev, ClassicProtocolState &src_protocol, const classic_protocol::borrowed::message::server::Ok &msg) |
| set attributes from the Ok message in the TraceEvent. More...
|
|
static void | trace_set_attributes (TraceEvent *ev, ClassicProtocolState &src_protocol, const classic_protocol::borrowed::message::server::Eof &msg) |
| set attributes from the Eof message in the TraceEvent. More...
|
|
static void | trace_set_attributes (TraceEvent *ev, ClassicProtocolState &src_protocol, const classic_protocol::borrowed::message::server::Error &msg) |
| set attributes from the Eof message in the TraceEvent. More...
|
|