|
static void | log_fatal_error_code (const char *msg, std::error_code ec) |
|
static size_t | message_byte_size (const google::protobuf::MessageLite &msg) |
|
static constexpr uint8_t | xproto_frame_msg_type (const Mysqlx::Error &) |
|
static constexpr uint8_t | xproto_frame_msg_type (const Mysqlx::Ok &) |
|
static constexpr uint8_t | xproto_frame_msg_type (const Mysqlx::Connection::Capabilities &) |
|
static constexpr uint8_t | xproto_frame_msg_type (const Mysqlx::Connection::CapabilitiesSet &) |
|
static constexpr uint8_t | xproto_frame_msg_type (const Mysqlx::Connection::CapabilitiesGet &) |
|
static bool | has_frame_header (XProtocolState *src_protocol) |
|
static bool | has_msg_type (XProtocolState *src_protocol) |
|
static stdx::expected< std::pair< size_t, XProtocolState::FrameInfo >, std::error_code > | decode_frame_header (const net::const_buffer &recv_buf) |
|
static stdx::expected< size_t, std::error_code > | ensure_frame_header (Channel *src_channel, XProtocolState *src_protocol) |
|
static stdx::expected< void, std::error_code > | ensure_has_msg_prefix (Channel *src_channel, XProtocolState *src_protocol) |
| ensure recv-channel contains a frame+msg-header. More...
|
|
static stdx::expected< void, std::error_code > | ensure_has_full_frame (Channel *src_channel, XProtocolState *src_protocol) |
|
static void | discard_current_msg (Channel *src_channel, XProtocolState *src_protocol) |
|
template<class T > |
static size_t | xproto_frame_encode (const T &msg, std::vector< uint8_t > &out_buf) |
| encode a message into a xproto frame. More...
|
|
static stdx::expected< bool, std::error_code > | forward_frame_from_channel (Channel *src_channel, XProtocolState *src_protocol, Channel *dst_channel, XProtocolState *dst_protocol) |
|
static stdx::expected< MysqlRoutingXConnection::ForwardResult, std::error_code > | forward_frame (Channel *src_channel, XProtocolState *src_protocol, Channel *dst_channel, XProtocolState *dst_protocol) |
|
static void | set_capability_tls (Mysqlx::Connection::Capability *cap, bool value) |
|
static stdx::expected< SSL_CTX *, std::error_code > | get_dest_ssl_ctx (MySQLRoutingContext &ctx, const std::string &id) |
|