Skip to main content

Module protocol

Module protocol 

Source
Expand description

Shared protocol handling for sync and async connections.

This module contains common code for VoltDB wire protocol handling, including authentication handshake and response parsing.

Constants§

PING_HANDLE
Ping handle constant - used for keep-alive messages
PROTOCOL_VERSION
Protocol version byte

Functions§

build_auth_message
Build authentication message for VoltDB connection.
parse_auth_response
Parse authentication response from server.
parse_response_handle
Parse the handle from a response message.
read_message
Read a length-prefixed message from a stream.