[api] Remove ProtoService base class

ProtoService was an abstract interface with 6 pure virtual methods,
but APIConnection was the only concrete implementation. Move all
functionality directly into APIConnection and remove the unnecessary
virtual dispatch and vtable overhead.
This commit is contained in:
J. Nick Koston
2026-03-20 21:14:45 -10:00
parent e9d25645cb
commit 2067053adb
4 changed files with 10 additions and 18 deletions
+1 -1
View File
@@ -2958,7 +2958,7 @@ static const char *const TAG = "api.service";
class_name = "APIServerConnectionBase"
hpp += f"class {class_name} : public ProtoService {{\n"
hpp += f"class {class_name} {{\n"
hpp += " public:\n"
# Add logging helper method declarations