I think this is basically the same issue I am talking about.<br>For me, the &quot;Device id&quot; is the CPU number or&nbsp; IP address for grid<br>computing.&nbsp; But the point of the namescope.[ch] subroutines I<br>made are actually I think to address this issue also so I am interested
<br>to understand more about how this is supposed to be solved.<br>Is there already a standard API for ListDevices()?<br><br>Best regards,<br><br>Rudi<br><br><div><span class="gmail_quote">On 5/2/07, <b class="gmail_sendername">
Havoc Pennington</b> &lt;<a href="mailto:hp@redhat.com">hp@redhat.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,
<br><br>Arne Caspari wrote:<br>&gt; org.unicapimaging.UCView.UNIQUE_DEVICE_IDENTIFIER<br>&gt;<br><br>This doesn&#39;t make any sense as an interface, would you have &quot;interface<br>UNIQUE_DEVICE_IDENTIFIER&quot; in Java? D-Bus interfaces are the same.
<br><br>As a bus name, you might do something like this. I&#39;m guessing you meant<br>bus name.<br><br>&gt; likewise, the object path would be:<br>&gt;<br>&gt; org/unicapimaging/UCView/UNIQUE_DEVICE_IDENTIFIER<br><br>There is probably no point having a unique bus name for every device, if
<br>you already have a unique path. The bus name is used to locate your<br>process, the path is used to locate an object inside the process.<br><br>If this is confusing, it&#39;s explained in several places in different ways
<br>(dbus tutorial and I believe the FAQ), maybe one of these is clearer.<br><br>In general you can think:<br>&nbsp;&nbsp;bus name = hostname<br>&nbsp;&nbsp;unique bus name = IP address<br>&nbsp;&nbsp;interface = interface (in a programming language, 
e.g. Java)<br>&nbsp;&nbsp;object path = pointer / object reference<br><br>&gt; The client needs to introspect the bus and find the matching interface.<br><br>I would suggest just have an object with a ListDevices() method, which<br>
returns a list of the object paths of the devices.<br><br>Havoc<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">
http://lists.freedesktop.org/mailman/listinfo/dbus</a><br></blockquote></div><br><br clear="all"><br>-- <br>Democracy is two wolves and a sheep deciding what to eat for lunch.<br>Liberty is a well-armed sheep contesting the vote.