diff options
author | Kevin KIN-FOO | 2014-10-02 16:42:43 +0000 |
---|---|---|
committer | Kevin KIN-FOO | 2014-10-02 16:44:17 +0000 |
commit | bd5b5810fb8192a55dbb5b89954b80b01ac8839e (patch) | |
tree | b6a6467dd75ca95b651a4e163c395b8cd14d34d0 | |
parent | 82bf37eee93f15dbdf4a2d341c9e8d0a8ee92fe6 (diff) | |
download | org.eclipse.paho.mqtt.lua-bd5b5810fb8192a55dbb5b89954b80b01ac8839e.tar.gz org.eclipse.paho.mqtt.lua-bd5b5810fb8192a55dbb5b89954b80b01ac8839e.tar.xz org.eclipse.paho.mqtt.lua-bd5b5810fb8192a55dbb5b89954b80b01ac8839e.zip |
Bug 445785: Rename library to Paho
Signed-off-by: Kevin KIN-FOO <kkinfoo@sierrawireless.com>
-rw-r--r-- | .buildpath | 2 | ||||
-rwxr-xr-x | paho/example/example_00.lua (renamed from lua/example/example_00.lua) | 2 | ||||
-rwxr-xr-x | paho/example/example_01.lua (renamed from lua/example/example_01.lua) | 2 | ||||
-rwxr-xr-x | paho/example/example_02.lua (renamed from lua/example/example_02.lua) | 2 | ||||
-rwxr-xr-x | paho/example/mqtt_publish.lua (renamed from lua/example/mqtt_publish.lua) | 2 | ||||
-rwxr-xr-x | paho/example/mqtt_subscribe.lua (renamed from lua/example/mqtt_subscribe.lua) | 2 | ||||
-rwxr-xr-x | paho/example/mqtt_test.lua (renamed from lua/example/mqtt_test.lua) | 2 | ||||
-rw-r--r-- | paho/mqtt.lua (renamed from lua/mqtt_library.lua) | 4 | ||||
-rw-r--r-- | paho/utility.lua (renamed from lua/utility.lua) | 2 |
9 files changed, 10 insertions, 10 deletions
@@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <buildpath> - <buildpathentry kind="src" path="lua"/> + <buildpathentry kind="src" path="paho"/> <buildpathentry kind="con" path="org.eclipse.koneki.ldt.ExecutionEnvironmentContainer/lua/5.1"/> </buildpath> diff --git a/lua/example/example_00.lua b/paho/example/example_00.lua index 1c7445b..a17acde 100755 --- a/lua/example/example_00.lua +++ b/paho/example/example_00.lua @@ -59,7 +59,7 @@ args = lapp [[ -t,--topic_p (default test/2) Publish topic ]] -local MQTT = require("mqtt_library") +local MQTT = require "paho.mqtt" local mqtt_client = MQTT.client.create(args.host, args.port, callback) diff --git a/lua/example/example_01.lua b/paho/example/example_01.lua index d949f34..c4262ef 100755 --- a/lua/example/example_01.lua +++ b/paho/example/example_01.lua @@ -55,7 +55,7 @@ args = lapp [[ -t,--topic_p (default test/2) Publish topic ]] -local MQTT = require("mqtt_library") +local MQTT = require "paho.mqtt" local mqtt_client1 = MQTT.client.create(args.host_s, args.port_s, callback) local mqtt_client2 = MQTT.client.create(args.host_p, args.port_p) diff --git a/lua/example/example_02.lua b/paho/example/example_02.lua index 575c411..56e3de2 100755 --- a/lua/example/example_02.lua +++ b/paho/example/example_02.lua @@ -42,7 +42,7 @@ local args = lapp [[ -t,--topic (default test/2) Topic on which to publish ]] -local MQTT = require("mqtt_library") +local MQTT = require "paho.mqtt" local mqtt_client = MQTT.client.create(args.host, args.port) diff --git a/lua/example/mqtt_publish.lua b/paho/example/mqtt_publish.lua index d39a1a7..e513e11 100755 --- a/lua/example/mqtt_publish.lua +++ b/paho/example/mqtt_publish.lua @@ -53,7 +53,7 @@ local args = lapp [[ -w,--will_topic (default .) Last will and testament topic ]] -local MQTT = require("mqtt_library") +local MQTT = require "paho.mqtt" if (args.debug) then MQTT.Utility.set_debug(true) end diff --git a/lua/example/mqtt_subscribe.lua b/paho/example/mqtt_subscribe.lua index e1c87ae..b203737 100755 --- a/lua/example/mqtt_subscribe.lua +++ b/paho/example/mqtt_subscribe.lua @@ -62,7 +62,7 @@ local args = lapp [[ -w,--will_topic (default .) Last will and testament topic ]] -local MQTT = require("mqtt_library") +local MQTT = require "paho.mqtt" if (args.debug) then MQTT.Utility.set_debug(true) end diff --git a/lua/example/mqtt_test.lua b/paho/example/mqtt_test.lua index 33a6a82..aa79acd 100755 --- a/lua/example/mqtt_test.lua +++ b/paho/example/mqtt_test.lua @@ -61,7 +61,7 @@ local args = lapp [[ <host> (default localhost) MQTT server hostname ]] -local MQTT = require("mqtt_library") +local MQTT = require "paho.mqtt" if (args.debug) then MQTT.Utility.set_debug(true) end diff --git a/lua/mqtt_library.lua b/paho/mqtt.lua index ced5cb4..3c20c63 100644 --- a/lua/mqtt_library.lua +++ b/paho/mqtt.lua @@ -84,7 +84,7 @@ local MQTT = {} --- -- @field [parent = #mqtt_library] utility#utility Utility -- -MQTT.Utility = require("utility") +MQTT.Utility = require "paho.utility" --- -- @field [parent = #mqtt_library] #number VERSION @@ -860,6 +860,6 @@ function MQTT.client:unsubscribe( -- Public API self.outstanding[self.message_id] = { "unsubscribe", topics } end --- For ... MQTT = require("mqtt_library") +-- For ... MQTT = require 'paho.mqtt' return(MQTT) diff --git a/lua/utility.lua b/paho/utility.lua index b2f11af..e4fbfa9 100644 --- a/lua/utility.lua +++ b/paho/utility.lua @@ -234,7 +234,7 @@ Utility.socket_wait_connected = socket_wait_connected -- Utility.table_to_string = table_to_string --- For ... Utility = require("utility") +-- For ... Utility = require 'paho.utility' return(Utility) |