Thanks Thiago. I will be replacing all the dashes with underscore for creating an interface. <br><br><div class="gmail_quote">On Fri, Dec 5, 2008 at 7:11 PM, Thiago Macieira <span dir="ltr"><<a href="mailto:thiago@kde.org">thiago@kde.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">On Friday 05 December 2008 14:19:16 Kaustubh Atrawalkar wrote:<br>
> Hi,<br>
><br>
> I m writing a server-client architecture in which i m creating a dbus<br>
> interface based on the application name to be launched via server. But i m<br>
> not able to use "-" in the application executable names. Some how dbus<br>
> gives error while creating the dbus interface. Is this expected behavior?<br>
> Why does dbus doesn't allow any special symbol in interface name?<br>
<br>
</div></div>Yes, that's expected. Interface names are expected to be valid C/C++/Java<br>
identifiers (traditional anyways, not including higher Unicode).<br>
<br>
In fact, interface names are modelled after Java class names and package<br>
names. The practice of replacing dashes (from DNS's LDH) with underscores is<br>
well established.<br>
<font color="#888888"><br>
--<br>
Thiago Macieira - thiago (AT) <a href="http://macieira.info" target="_blank">macieira.info</a> - thiago (AT) <a href="http://kde.org" target="_blank">kde.org</a><br>
Senior Software Engineer - Nokia, Qt Software<br>
Qt Software is hiring - ask me<br>
PGP/GPG: 0x6EF45358; fingerprint:<br>
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358<br>
</font><br>_______________________________________________<br>
dbus mailing list<br>
<a href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/dbus" target="_blank">http://lists.freedesktop.org/mailman/listinfo/dbus</a><br>
<br></blockquote></div><br>