<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello, <br>
<br>
I have a dbus implementation which is implementing multiple Interfaces inside a single object beside the standard dbus interfaces.&nbsp; I have 2 questions.<br>
<br>
1) The get_all() function takes the interface_name as an input. But this input seems to be optional (at-least according to the qdbusviewer). &nbsp;According to the specification is it in fact true (for multiple interface usecase).<br>
<br>
2) If the input is infact optional and If some of the properties are not always valid. In the situation can the get_all() just skip those properties? I tried this and maybe it&#8217;s just my implementation but it crashed. Has anyone done something similar? I couldn&#8217;t
 find any examples of multiple interface in a single object at all. <br>
<br>
PS: By valid I mean it is not always relevant. <br>
<br>
Example to clarify the doubt. <o:p></o:p></p>
<p class="MsoNormal">//standard Interface each needs to implement<br>
Object 1-&gt; Object1.Dbus.Introspectable<br>
Object 1-&gt; Object1.Dbus.Properties<o:p></o:p></p>
<p class="MsoNormal">//implementation specific interfaces.<br>
Object 1 -&gt; Object1.Interface.<span style="color:#1F497D">A</span><br>
Object 1-&gt; Object1.Interface.<span style="color:#1F497D">B</span><br>
Object 1 -&gt; Object1.Interface.<span style="color:#1F497D">C</span><br>
<br>
During introspection I am passing a structure with all the properties belonging to all the interfaces.<br>
<br>
Each interface has a set of properties which are not always valid for the object. So in the above example for a particular run time scenario properties of Interface<span style="color:#1F497D">.B</span> may not valid.&nbsp; What is the get all supposed to do then.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Nirav.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>