To perform a method on a D-BUS object, you send the object a method call message.
要执行d - BUS对象的方法,您需要向对象发送一个方法调用消息。
Unfortunately, it will result in the error message shown in Figure 5, because the function declared in the dojo.forEach method call creates a closure that defines this as referring to its own body.
不幸的是,它将导致图5所示的错误消息,因为在dojo . forEach方法调用中声明的函数创建了一个闭包,该闭包将this定义为引用它本身。
Then the code call the send() method, which will send that message on the specified queue.
然后,该代码调用 send() 方法,这个方法将发送指定队列上的消息。
应用推荐