MySQL 8.0.39
Source Code Documentation
XProtocolState Class Reference

#include <x_connection.h>

Inheritance diagram for XProtocolState:
[legend]

Classes

struct  FrameInfo
 

Public Member Functions

std::optional< FrameInfo > & current_frame ()
 
std::optional< uint8_t > & current_msg_type ()
 
Mysqlx::Connection::Capabilitiescaps ()
 
void caps (std::unique_ptr< Mysqlx::Connection::Capabilities > caps)
 
- Public Member Functions inherited from ProtocolStateBase
virtual ~ProtocolStateBase ()=default
 

Private Attributes

std::optional< FrameInfocurrent_frame_ {}
 
std::optional< uint8_t > msg_type_ {}
 
std::unique_ptr< Mysqlx::Connection::Capabilitiescaps_
 

Member Function Documentation

◆ caps() [1/2]

Mysqlx::Connection::Capabilities * XProtocolState::caps ( )
inline

◆ caps() [2/2]

void XProtocolState::caps ( std::unique_ptr< Mysqlx::Connection::Capabilities caps)
inline

◆ current_frame()

std::optional< FrameInfo > & XProtocolState::current_frame ( )
inline

◆ current_msg_type()

std::optional< uint8_t > & XProtocolState::current_msg_type ( )
inline

Member Data Documentation

◆ caps_

std::unique_ptr<Mysqlx::Connection::Capabilities> XProtocolState::caps_
private

◆ current_frame_

std::optional<FrameInfo> XProtocolState::current_frame_ {}
private

◆ msg_type_

std::optional<uint8_t> XProtocolState::msg_type_ {}
private

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