How to make D-Bus server side call as asynchronous ?
For my project , I am using DBUS as IPC to interact between QT application
( Client Side ) and my service daemon (Server-Side - GIO / GDBUS ). At
client side , methods are invoked asynchronously using
However at server side , how to make method call as async ? . Async call is
required as function invoked,take long time to service request e.g in FM
radio whole band scan.
As per my understanding , "g_dbus_method_invocation_return_value" will
return response with output parameters making method invocation as sync.
One way I can think of is to return intermediate response using
g_dbus_method_invocation_return_value and then once final response is
received emit the final response as signal.