Re: gdbus - register handler/object on interface NULL



Hello,
I have made a small server for Audio-Recorder. Take a look at
dbus-server.[ch] modules.
http://bazaar.launchpad.net/~osmoma/audio-recorder/trunk/view/head:/src/

$ audio-recorder --help
can show the commands that can be sent to the server (to set or ask the
recording state).

// Osmo (Moma) Antero


On Wed, Aug 21, 2013 at 6:10 PM, Bernhard Schuster <
schuster bernhard googlemail com> wrote:

I have to deal with a closed source server being based on qt + dbus.
I try to connect to it via gdbus,glib.
The connection works as follows:

A mehod/object called "message_handler" has to be registered to the bus
/exported.
I call a remote method named "send_data", afterwards the service/server
calls the local "message_handler". Unfortunately it expects the
method/object to be at interface NULL, at least that is what I read from
the dbus-monitor/bustle logs

g_dbus_connection_register_object does not allow a interface NULL pointer.


Any help or pointers are appreciated.


I opened a pretty detailed question on stackoverflow


http://stackoverflow.com/questions/18357703/dbus-register-object-to-remote-on-interface-null

Thanks in advance!

Best

Bernhard
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




-- 
// moma
   http://www.futuredesktop.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]