Re: gdbus - register handler/object on interface NULL

I have made a small server for Audio-Recorder. Take a look at dbus-server.[ch] modules.
$ 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
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

Thanks in advance!


gtk-app-devel-list mailing list
gtk-app-devel-list gnome org

// moma

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