Hi,<br><br>I'm wondering how to implement my application, I cant use a higher language API but I have to use the low-level C API.<br><br>On the one hand I use dbus_connection_register_object_path to register to the interface of an object (let's call it Obj-xy) on the bus to implement some methods which gets called. <br>
I create a DBusObjectPathVTable variable and add a function "message_obj-xy" which handles the method calls from Obj-xy. I use dbus_message_is_method_call to check incoming message.<br><br>At the same time I have setup a filter function (just before I also did add_match), with this function I can check every message before it gets dispatched by my message_obj-xy function.<br>
Anyway basically the only difference between this to handlings is that in the filter function I check only if there are messages of type signal, and in message_obj-xy function I check only message of type method calls?<br>
So far I'm sort of confused between the difference of adding a filter function ( which always includes using add_match)<br>and on the other side implementing an interface of an object by using a DBusObjectPathVTable.<br>
<br>With both techniques you basically can check incoming message, and I guess of all three types, signal, method calls and errors?<br><br><br><br>thanks<br><br><br clear="all"><br>-- <br>Regards,<br>--Codefritz<br><br><br>
<br>