hellocorelua

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
hellocorelua [2014/03/22 21:44]
mroriz [Execution]
hellocorelua [2014/03/29 00:02]
mroriz [LuaMobileClient]
Line 185: Line 185:
   connection:add_listener("external", listener)    connection:add_listener("external", listener) 
      
- while true do+  while true do
     -- random lat and lng and encode in json     -- random lat and lng and encode in json
     client_data.lat = -1 * math.random(22, 25)     client_data.lat = -1 * math.random(22, 25)
Line 296: Line 296:
   $ gateway 127.0.0.1 5500   $ gateway 127.0.0.1 5500
  
-After that, we instantiate our processing node. To do that, run the ''HelloCoreServer'' class in Eclipse as a Java application. Finally, execute the 'client running the lua command line interpreter: +After that, we instantiate our processing node. To do that, run the ''HelloCoreServer'' class in Eclipse as a Java application. Finally, execute the mobile client running the lua command line interpreter: 
  
   $ lua helloclient.lua   $ lua helloclient.lua
  
  
  • hellocorelua.txt
  • Last modified: 2017/07/21 03:08
  • (external edit)