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

组合优于继承 #23

Open
KumoKyaku opened this issue Nov 29, 2023 · 0 comments
Open

组合优于继承 #23

KumoKyaku opened this issue Nov 29, 2023 · 0 comments
Assignees
Milestone

Comments

@KumoKyaku
Copy link
Owner

根据功能拆分组件模块
Remote是一个组合体, 拆分序列化到单独的类型, WriterPipeline 拆分,

  • IWriterPipeline 控制消息长度写入
  • IMessageHeader
  • IReceiver
  • IRpclayer
  • IThreadTransducer
  • ITransport

    Remote构造函数,无参的构造函数添加默认的组件,和允许用户传入自定义组件的构造函数。
@KumoKyaku KumoKyaku added this to the 4.0 milestone Nov 29, 2023
@KumoKyaku KumoKyaku self-assigned this Nov 29, 2023
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