hellocore

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
hellocore [2013/09/09 20:19]
mroriz
hellocore [2016/04/24 17:29]
mroriz [HelloCore]
Line 8: Line 8:
  
 <WRAP tip> <WRAP tip>
-You do not need to copy the source code snippets shown in this tutorial. At the end of each section there is a link to download the entire node source code. Moreover, all examples are included in the virtual machine made available.+You do not need to copy the source code snippets shown in this tutorial. At the end of each section there is a link to download the entire node source code. 
 </WRAP> </WRAP>
 ===== MobileClient ===== ===== MobileClient =====
Line 272: Line 272:
 To execute our application, we need to first create the gateway, which will instantiate the core infrastructure if none exists. The gateway receives two parameters, its public IP and a given port number. Since we are this sample locally, we can choose the loopback IP ''127.0.0.1'' and the default middleware port ''5500''. To do that, open a shell, and run the following command: To execute our application, we need to first create the gateway, which will instantiate the core infrastructure if none exists. The gateway receives two parameters, its public IP and a given port number. Since we are this sample locally, we can choose the loopback IP ''127.0.0.1'' and the default middleware port ''5500''. To do that, open a shell, and run the following command:
  
-  $ gateway 127.0.0.1 5500+  $ gateway 127.0.0.1 5500 OpenSplice
  
 After that, we instantiate our processing node. To do that, run the ''HelloCoreServer'' class in Eclipse as a Java application. Finally, execute the ''HelloCoreClient'' class in Eclipse to start the mobile node application. You will see the printed messages in your console. After that, we instantiate our processing node. To do that, run the ''HelloCoreServer'' class in Eclipse as a Java application. Finally, execute the ''HelloCoreClient'' class in Eclipse to start the mobile node application. You will see the printed messages in your console.
  • hellocore.txt
  • Last modified: 2017/07/21 03:08
  • (external edit)