Introduce client manager base class
Each manager class is initialized from the object, which means that some logic, like endpoint defenition, is duplicated over all managers.
In order to solve that, and also efficiently refactor endpoint defenition for being a property, base manager class is being introduced.
Regarding the endpoint defenition, right now it is constructed statically on client init. While this does work, it may result in an unexpected behavior, when client is being re-used.
To be more error-prone, it’s construction moved to a property.
Assisted-By: Gemini 3.1 Change-Id: I3e163accffb34ab3ef36b7eec0c309e1af03a67a Signed-off-by: Dmitriy Rabotyagov dmitriy.rabotyagov@cleura.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号