apigear-io / objectlink-core-cpp

A object link protocol for C++ 14
MIT License
0 stars 3 forks source link

Protocol class improvement - make it static class #15

Open dorotaphanSiili opened 1 year ago

dorotaphanSiili commented 1 year ago

Protocol should have only static members. Method getMessageType Methods decodeXMessage and tand return proper data in structure. The switch-case would go to baseNode then, no need for the IProtocolListner TODO what with error handling?

part of https://github.com/apigear-io/objectlink-core-cpp/issues/8