I think this is basically the same issue I am talking about.<br>For me, the "Device id" is the CPU number or IP address for grid<br>computing. 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> <<a href="mailto:hp@redhat.com">hp@redhat.com</a>> 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>> org.unicapimaging.UCView.UNIQUE_DEVICE_IDENTIFIER<br>><br><br>This doesn't make any sense as an interface, would you have "interface<br>UNIQUE_DEVICE_IDENTIFIER" in Java? D-Bus interfaces are the same.
<br><br>As a bus name, you might do something like this. I'm guessing you meant<br>bus name.<br><br>> likewise, the object path would be:<br>><br>> 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'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> bus name = hostname<br> unique bus name = IP address<br> interface = interface (in a programming language,
e.g. Java)<br> object path = pointer / object reference<br><br>> 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.