actor-framework / actor-framework/incubator

Add application base-class

Đang mở
#78 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
improvement
Ngôn ngữ chính
C++
Star
7
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.