I'm trying to make this service router able to support any service. I've made some progress since the email. I made my own Root class (inheriting Genode::Root), then made a class similar to the Root_component class, but capable of using my Root. In the Main method, I created my Root_component equivalent, then used env()->parent()->annouce(ep.manage(root));. When I tested this, I got an IPC_error.
On Mar 17, 2016 3:53 AM, "Emery" <emery@...261...> wrote:------------------------------------------------------------------------------Which services are you interested in routing?
Depending on the service it may be simplier to manage with proxies.
Emery
On Wed, Mar 16, 2016 at 12:39:52AM -0600, Nobody III wrote:
> I've been trying to implement my own service router, to make dynamic
> configuration easier. However, I'm struggling to find a way to request
> services with only a label and a service name and provide them when a
> service is requested. I've looked at the init code, but I'm trying to allow
> the server to provide services to siblings, which complicates things. Could
> somebody please give me some pointers? I suspect that I may need to extend
> Genode::Root to provide different services/capabilities according the the
> router's policy. Am I correct? I haven't quite been able to piece together
> how capability/session requests are resolved.
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main