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

Access MetaAPI in Router #299

Open
jensweigele opened this issue Jun 5, 2019 · 1 comment
Open

Access MetaAPI in Router #299

jensweigele opened this issue Jun 5, 2019 · 1 comment

Comments

@jensweigele
Copy link

I'm wondering if it's possible to access the MetaAPI from within the Router with the WampSharp Meta API Interfaces.

As far as I understand the documentation and the code, it is only possible to consume this information from a Client Connection (with the predefined interfaces).
Within the router implementation I have to subscribe to those topics my self or listen directly to the native C# events and build up an own list of e.g. connected clients - right?

@darkl
Copy link
Member

darkl commented Jun 5, 2019

I currently don't expose the underlying IWampRealmProxy so it's not possible to do this directly. You can create a WampChannel that uses InMemoryBinding/InMemoryTransport in order to obtain a channel and then use its RealmProxy property to access these members. See #250, #261 for more information.

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

2 participants