This pull request introduces significant refactoring across three key components of the Hazelcast C++ client’s protocol handling: ClientMessageBuilder.h, list_cn_fixed_size_codec.h, and sql_page_codec.h. These changes leverage modern C++11 features to optimize performance, enhance readability, and improve error handling.
Detailed Changes:
1. ClientMessageBuilder.h:
Redundant Checks: Simplified control flow by removing redundant checks, making the code easier to follow.
Fragment Handling: Broke complex message fragmentation logic into smaller, more manageable functions.
PR closed by Hazelcast automation as no activity (>3 months). Please reopen with comments, if necessary. Thank you for using Hazelcast and your valuable contributions
This pull request introduces significant refactoring across three key components of the Hazelcast C++ client’s protocol handling: ClientMessageBuilder.h, list_cn_fixed_size_codec.h, and sql_page_codec.h. These changes leverage modern C++11 features to optimize performance, enhance readability, and improve error handling.
Detailed Changes:
1. ClientMessageBuilder.h:
2. list_cn_fixed_size_codec.h:
3. sql_page_codec.h:
Benefits: