Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RpcServerMessageStream和RpcMessageStream类是否可抽取公共父类 #223

Open
chukeer opened this issue Jan 20, 2018 · 0 comments
Open

Comments

@chukeer
Copy link

chukeer commented Jan 20, 2018

这两个类都继承自RpcByteStream,而且大多数成员函数及其实现都是相同的,是否可抽取公共父类。我看里面都有RoleType类型的成员变量,但似乎都是在其派生类构造时直接写死的,并没有由创建者指定不同类型。这两个类分开实现是基于什么考虑的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant