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

Support annotations to register procedures #506

Open
om26er opened this issue Sep 17, 2020 · 0 comments
Open

Support annotations to register procedures #506

om26er opened this issue Sep 17, 2020 · 0 comments

Comments

@om26er
Copy link
Contributor

om26er commented Sep 17, 2020

Just like autobahn-python where a function/method can be registered with

@register("io.crossbar.sample")
def sample(var1):
    pass

We could develop a similar functionality in autobahn-java. It seems many libraries use that, for example butter knife uses a similar technique to bind views in Android.

Same could also be used for subscriptions, obviously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant