DBus usage for applications and services communication through servicemanager

Ravi Kumar Kandati Ravikumar.Kandati at LntTechservices.com
Thu Jun 15 09:36:47 UTC 2017


Hi,

I have following requirement which needs to use D-Bus, where applications(App1, App2, App3 ...) will communicate to services(Ser1, Ser2, Ser3 ...) through service manager(SM) for priority handling.

                (App1, App2, App3 ...) -----D-Bus-----> SM --------D-Bus-----> (Ser1, Ser2, Ser3 ...)

I want to handle following sequence for different applications.

                Step 1. App1 sends request to SM for Ser1 through D-Bus.
                Step 2. SM sends request to Ser1 through D-Bus.
                Step 3. After processing the request Ser1 sends response back to SM through D-Bus.
                Step 4. SM sends response to App1.

In the above steps, after SM sends the request to Ser1, it can't wait for the response, because it has to process other requests. So thought of proceeding with the following implementation flow.

                SM will be having dedicated D-Bus connection to receive requests from Applicatios(App1, App2, App3 ...)
                SM will be having different D-Bus connections to handle responses coming from different services(Ser1, Ser2, Ser3 ...)

Can you guide is the above implementation procedure is fine or any better implementation?

L&T Technology Services Ltd

www.LntTechservices.com<http://www.lnttechservices.com/>

This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dbus/attachments/20170615/efe99746/attachment.html>


More information about the dbus mailing list