Support of other kinds of services

Issue #6 resolved
Former user created an issue

I have a QObject* tree structure which I want to access with method names like "myservice.collection1.subcollection.object.doSomething" using your library.

I started implementing "myservice" as a subclass of QJsonRpcService, which basically overrides the cacheInvokableInfo() from QJsonRpcServicePrivate.

The QObject* pointers are now stored along with the method index, to provide access to more than the Serviceobject.

Maybe you can support such a scenario upstream. My implementation lives at https://github.com/sikoragmbh/qjsonrpc/commits

Comments (2)

  1. Matt Broadstone

    Would you be interested in discussing this further on the mailing list? I -think- I understand what you're asking for, and like the idea, but I want to make sure that we maintain both behaviors. You can find the ML on the front page of the bitbucket repo

  2. Log in to comment