我曾尝试过内部数据,但是问题后面有动词形式,“Object path to introspect”=>
“要(查看)内部的对象”。和语义对不上。其实际的含义是要取得调用接口细节(比如方法名、参数、类型等)。
“内省”其实也是不对的。这个东西是 D-Bus 用于替换 DCOP 和 Bonobo 东东,换言之,是和 Windows 的 COM+
类似的东西。它所描述的“内”应该是指应用内,而实际上,有点类似XML Web Service 的客户端、服务端的感觉。客户端利用 WSDL
查询服务端都提供什么服务(方法、参数),服务端返回服务信息。这里是一个客户端通过 D-Bus
查询总线上某个服务
在 2010年7月19日 下午4:32,Ray Wang 写道:
> 这个有的翻译成"内省" 就是程序通过introspection 自己知道有什么接口可供调用,dbus 有这功能,后来好像 glib/gtk
> 也实现的类似的功能。
> 也不知道有什么更好的翻译,如果上面的解释有错误的地方,希望大家能指正
>
> 2010/7/19 Tao Wang :
> > Hi,
> >
> > 在翻译 GLib 时碰到的:
> >
> > Warning: According to introspection data, interface `%s' does not exist\n
> >
这个有的翻译成"内省" 就是程序通过introspection 自己知道有什么接口可供调用,dbus 有这功能,后来好像 glib/gtk
也实现的类似的功能。
也不知道有什么更好的翻译,如果上面的解释有错误的地方,希望大家能指正
2010/7/19 Tao Wang :
> Hi,
>
> 在翻译 GLib 时碰到的:
>
> Warning: According to introspection data, interface `%s' does not exist\n
> Warning: According to introspection data, method `%s' d
Hi,
在翻译 GLib 时碰到的:
Warning: According to introspection data, interface `%s' does not exist\n
Warning: According to introspection data, method `%s' does not exist on
interface `%s'\n
Destination name to introspect
Object path to introspect
Introspect a remote object.
这是 DBus 的概念,用以查询接口信息,有点像XML W