<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
I have to repeat my question, its quite important for me, so please
help !!!<br>
<br>
Using Qt bindings emitting of signals ( broadcasting ) is very
simple:<br>
<font face="Courier New, Courier, monospace">QBbusMessage msg
= QDBbusMessage::createSignal( <objectPath>,
<interface>, <methodName> );<br>
dbusConn->send(msg); </font><br>
<br>
My question is:<br>
How to do this same using GLib bindings?<br>
<br>
My goal is to sent a broadcast message to different groups of
applications, I'd like to differentiate signals by
<objectPath> and <interface>,<br>
so that different application groups will receive only according
signals.<br>
<br>
As I already mentioned in my previous mail, neither in the <font
face="Courier">g_signal_new()</font> nor in the <font
face="Courier">g_signal_emit() </font>methods I can't recognize
the <objectPath> and <interface> parameters.<br>
<br>
The interface name can be given in the interface definition .xml
file but then, unlike in the Qt binding, I have to create and
register an object in this case only for emitting of signals and the
Interface name is fix - I can't change it dynamically. Is it
correct?<br>
Also the <font face="Courier New, Courier, monospace"><objectPath>
</font>seem to be taken from a registered object - the same problem
as above, I can't emit signals changing <font face="Courier New,
Courier, monospace"><objectPath>, <interface>,</font>dynamically
as in Qt<br>
<br>
In the low level API for DBus I've seen the method <font
face="Courier New, Courier, monospace"><br>
dbus_message_new_signal( <objectPath>, <interface>,
<methodName> ),</font>but I don't know if it is possible to
use it together with GLib bindings. <br>
An example will be very helpful<font face="Courier New, Courier,
monospace">.<br>
</font><br>
Thanks for your help,<br>
<br>
with best regards<br>
<br>
Bogdan Lotko
</body>
</html>