MySQL 8.3.0
Source Code Documentation
classic_protocol::borrowable::message::client::RegisterReplica< Borrowed > Class Template Reference

#include <classic_protocol_message.h>

Public Types

using string_type = std::conditional_t< Borrowed, std::string_view, std::string >
 

Public Member Functions

constexpr RegisterReplica (uint32_t server_id, string_type hostname, string_type username, string_type password, uint16_t port, uint32_t replication_rank, uint32_t master_id)
 
constexpr uint32_t server_id () const
 
constexpr string_type hostname () const
 
constexpr string_type username () const
 
constexpr string_type password () const
 
constexpr uint16_t port () const
 
constexpr uint32_t replication_rank () const
 
constexpr uint32_t master_id () const
 

Private Attributes

uint32_t server_id_
 
string_type hostname_
 
string_type username_
 
string_type password_
 
uint16_t port_
 
uint32_t replication_rank_
 
uint32_t master_id_
 

Member Typedef Documentation

◆ string_type

template<bool Borrowed>
using classic_protocol::borrowable::message::client::RegisterReplica< Borrowed >::string_type = std::conditional_t<Borrowed, std::string_view, std::string>

Constructor & Destructor Documentation

◆ RegisterReplica()

template<bool Borrowed>
constexpr classic_protocol::borrowable::message::client::RegisterReplica< Borrowed >::RegisterReplica ( uint32_t  server_id,
string_type  hostname,
string_type  username,
string_type  password,
uint16_t  port,
uint32_t  replication_rank,
uint32_t  master_id 
)
inlineconstexpr

Member Function Documentation

◆ hostname()

template<bool Borrowed>
constexpr string_type classic_protocol::borrowable::message::client::RegisterReplica< Borrowed >::hostname ( ) const
inlineconstexpr

◆ master_id()

template<bool Borrowed>
constexpr uint32_t classic_protocol::borrowable::message::client::RegisterReplica< Borrowed >::master_id ( ) const
inlineconstexpr

◆ password()

template<bool Borrowed>
constexpr string_type classic_protocol::borrowable::message::client::RegisterReplica< Borrowed >::password ( ) const
inlineconstexpr

◆ port()

template<bool Borrowed>
constexpr uint16_t classic_protocol::borrowable::message::client::RegisterReplica< Borrowed >::port ( ) const
inlineconstexpr

◆ replication_rank()

template<bool Borrowed>
constexpr uint32_t classic_protocol::borrowable::message::client::RegisterReplica< Borrowed >::replication_rank ( ) const
inlineconstexpr

◆ server_id()

template<bool Borrowed>
constexpr uint32_t classic_protocol::borrowable::message::client::RegisterReplica< Borrowed >::server_id ( ) const
inlineconstexpr

◆ username()

template<bool Borrowed>
constexpr string_type classic_protocol::borrowable::message::client::RegisterReplica< Borrowed >::username ( ) const
inlineconstexpr

Member Data Documentation

◆ hostname_

template<bool Borrowed>
string_type classic_protocol::borrowable::message::client::RegisterReplica< Borrowed >::hostname_
private

◆ master_id_

template<bool Borrowed>
uint32_t classic_protocol::borrowable::message::client::RegisterReplica< Borrowed >::master_id_
private

◆ password_

template<bool Borrowed>
string_type classic_protocol::borrowable::message::client::RegisterReplica< Borrowed >::password_
private

◆ port_

template<bool Borrowed>
uint16_t classic_protocol::borrowable::message::client::RegisterReplica< Borrowed >::port_
private

◆ replication_rank_

template<bool Borrowed>
uint32_t classic_protocol::borrowable::message::client::RegisterReplica< Borrowed >::replication_rank_
private

◆ server_id_

template<bool Borrowed>
uint32_t classic_protocol::borrowable::message::client::RegisterReplica< Borrowed >::server_id_
private

◆ username_

template<bool Borrowed>
string_type classic_protocol::borrowable::message::client::RegisterReplica< Borrowed >::username_
private

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