From: Ali Younis Date: Thu, 18 May 2017 20:12:52 +0000 (-0700) Subject: Changes X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3c099b8fb1d0b018a1ca28bb0c4fc09ad32efda9;p=iotcloud.git Changes --- diff --git a/version2/src/Control/app/src/main/java/com/example/ali/control/MainActivity.java b/version2/src/Control/app/src/main/java/com/example/ali/control/MainActivity.java index 08d8ff0..61d7914 100644 --- a/version2/src/Control/app/src/main/java/com/example/ali/control/MainActivity.java +++ b/version2/src/Control/app/src/main/java/com/example/ali/control/MainActivity.java @@ -316,7 +316,9 @@ public class MainActivity extends AppCompatActivity { try { Log.e("Ali::::", "Here1"); - t1 = new Table("http://dc-6.calit2.uci.edu/test.iotcloud/", "reallysecret", 1000, -1, MainActivity.this); + t1 = new Table("http://dc-6.calit2.uci.edu/test.iotcloud/", "reallysecret", 1000, 6000, MainActivity.this); + t1.addLocalCommunication(353211, "192.168.2.192", 6000); + Log.e("Ali::::", "Here2"); t1.rebuild(); // update Log.e("Ali::::", "Here3"); diff --git a/version2/src/java/light_fan_embed_benchmark/LightsController.java b/version2/src/java/light_fan_embed_benchmark/LightsController.java index 46df781..4b14099 100644 --- a/version2/src/java/light_fan_embed_benchmark/LightsController.java +++ b/version2/src/java/light_fan_embed_benchmark/LightsController.java @@ -90,7 +90,9 @@ class LightsController { Table t1 = null; try { - t1 = new Table("http://dc-6.calit2.uci.edu/test.iotcloud/", "reallysecret", 321, -1); + t1 = new Table("http://dc-6.calit2.uci.edu/test.iotcloud/", "reallysecret", 321, 6000); + t1.addLocalCommunication(1000, "192.168.2.50", 6001); + t1.rebuild(); } catch (Error e) {