A light-weight RPC implement of google protobuf RPC framework.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
chukeer opened this issue 6 years ago · comments
这两个类都继承自RpcByteStream,而且大多数成员函数及其实现都是相同的,是否可抽取公共父类。我看里面都有RoleType类型的成员变量,但似乎都是在其派生类构造时直接写死的,并没有由创建者指定不同类型。这两个类分开实现是基于什么考虑的