myapp
myapp
-
Edit the key name to the name of your application ; myapp . exe , in this example .
将项名编辑成您的应用程序的名称;在本示例中为myapp.exe。
-
This code would create a subscription to the topic " / myApp / myTopic " .
此代码将会对“/myApp/myTopic”主题进行订阅。
-
In the malloc . d script , the $ target will be replaced by the process ID of the application myapp at runtime .
在malloc.d脚本中,在运行时把$target替换为应用程序myapp的进程ID。
-
The init function creates a new event listener object and subscribes it to the topic called / myApp / myTopic by calling its load method .
init函数将创建一个新的事件侦听器对象,然后通过调用其加载方法向名为/myApp/myTopic的主题订阅该对象。