Skip to content

Struct cubconn::master::context

ClassList > cubconn > master > context

  • #include <connection_context.hpp>

Public Attributes

Type Name
css_conn_entry * m_conn
bool m_has_error
buffer m_recvbuf
cubbase::packet_buffer m_sendbuf
state m_state = { state::SendInHandshake }

Public Functions

Type Name
T * allocate ()
context ()
context (const context &) = delete
context (context &&) noexcept
bool has_data_to_send ()
context & operator= (const context &) = delete
context & operator= (context &&) noexcept
void push (const cubbase::span< std::byte > & first, const Spans &... rest)
void push_for_send (const cubbase::span< std::byte > & first, const Spans &... rest)
void reset ()
~context ()

Public Attributes Documentation

variable m_conn

css_conn_entry* cubconn::master::context::m_conn;

variable m_has_error

bool cubconn::master::context::m_has_error;

variable m_recvbuf

buffer cubconn::master::context::m_recvbuf;

variable m_sendbuf

cubbase::packet_buffer cubconn::master::context::m_sendbuf;

variable m_state

state cubconn::master::context::m_state;

Public Functions Documentation

function allocate

template<typename T>
inline T * cubconn::master::context::allocate () 

function context [1/3]

cubconn::master::context::context () 

function context [2/3]

cubconn::master::context::context (
    const  context &
) = delete

function context [3/3]

cubconn::master::context::context (
    context &&
) noexcept

function has_data_to_send

bool cubconn::master::context::has_data_to_send () 

function operator=

context & cubconn::master::context::operator= (
    const  context &
) = delete

function operator=

context & cubconn::master::context::operator= (
    context &&
) noexcept

function push

template<typename... Spans>
inline void cubconn::master::context::push (
    const  cubbase::span < std::byte > & first,
    const  Spans &... rest
) 

function push_for_send

template<typename... Spans>
inline void cubconn::master::context::push_for_send (
    const  cubbase::span < std::byte > & first,
    const  Spans &... rest
) 

function reset

void cubconn::master::context::reset () 

function ~context

cubconn::master::context::~context () 


The documentation for this class was generated from the following file cubrid/src/connection/connection_context.hpp