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

Services are forced to implement callback handlers #80

Open
ronnno opened this issue Sep 2, 2018 · 0 comments
Open

Services are forced to implement callback handlers #80

ronnno opened this issue Sep 2, 2018 · 0 comments

Comments

@ronnno
Copy link
Contributor

ronnno commented Sep 2, 2018

Spec enforces all services to implement handler interfaces.
Handler may be implemented by a dependency of the service rather than the service itself. this allows separation of concerns. current implementation of code generation in Membuff - it imposes a design decision - it confounds inter node and intra node communication (forces them to have the same mechanism)

for instance, PublicApi implements TransactionResultsHandler and currently just delegates the call to a synchronization subsystem.

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