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¶
variable m_has_error¶
variable m_recvbuf¶
variable m_sendbuf¶
variable m_state¶
Public Functions Documentation¶
function allocate¶
function context [1/3]¶
function context [2/3]¶
function context [3/3]¶
function has_data_to_send¶
function operator=¶
function operator=¶
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¶
function ~context¶
The documentation for this class was generated from the following file cubrid/src/connection/connection_context.hpp