Mariaex v0.9.1 Mariaex.ProtocolHelper View Source

Link to this section Summary

Functions

Define a packet handler, recv_func/2. If a packet is received successfully, it will pass (packet, request, state) from MariaDB to handle_func/3. Otherwise, it will disconnect from the database

Link to this section Functions

Link to this macro def_handle(recv_func, handle_func) View Source (macro)

Define a packet handler, recv_func/2. If a packet is received successfully, it will pass (packet, request, state) from MariaDB to handle_func/3. Otherwise, it will disconnect from the database.