mysql-native v3.0.0
API Reference Home: [This Version] [Latest Version] [Other Versions]
Module mysql.protocol.comms
Internal - Low-level communications.
Consider this module the main entry point for the low-level MySQL/MariaDB
protocol code. The other modules in mysql
are mainly tools
to support this module.
Previously, the code handling low-level protocol details was scattered all across the library. Such functionality has been factored out into this module, to be kept in one place for better encapsulation and to facilitate further cleanup and refactoring.
EXPECT MAJOR CHANGES to this entire mysql
sub-package until it
eventually settles into what will eventually become a low-level library
containing the bulk of the MySQL/MariaDB-specific code. Hang on tight...
Next tasks for this sub-package's cleanup: - Reduce this module's reliance on Connection. - Abstract out a PacketStream to clean up getPacket and related functionality.