actor-framework / actor-framework/incubator

Add application base-class

Ouverte
#78 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
improvement
Langage dominant
C++
Étoiles
7
Forks
2
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.