actor-framework / actor-framework/incubator

Add application base-class

未关闭
#78 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
improvement
主要语言
C++
星标
7
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

Implementing Application protocols currently requires a lot of boilerplate code that is identical across all application protocols. The stacking approach requires dispatching functions to the following layers even if the function is not needed for the application itself. This leads to a lot of code similar to:
```
void some_func(Args args) {
next_layer_.some_func(args);
}
```
We should think about providing an `application_base`, that implements a default implementation for this. In the case that future applications require a different behaviour, these functions could simply be overridden.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。