start multiple instance of the same service ?

Julien PUYDT julien.puydt at laposte.net
Thu Sep 14 09:13:21 PDT 2006


John (J5) Palmieri a écrit :
> On Thu, 2006-09-14 at 09:21 -0400, Havoc Pennington wrote:
>> It's not possible. But you could have a service factory service perhaps, 
>> that starts a dumpcap for each network interface.

> This sounds like the right way to do it.  Basically have one factory,
> org.dummy.dumpcap for example, and have a method such as StartInstance()
> which execs the actual provider and sends back a unique bus name.  You
> could even get fancy and have the provider also become its own bus
> server and send a socket to connect to avoiding the overhead of the bus.

Perhaps some method to query the list of available interfaces would be 
nice too -- so the client knows what to give to StartInstance.

Snark


More information about the dbus mailing list