projects
/
iotcloud.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Tweaked phone app for testbed experiment; tweaked testbed files
[iotcloud.git]
/
version2
/
src
/
java
/
light_fan_embed_benchmark_2bulbs
/
Setup.java
1
import iotcloud.*;
2
import java.util.*;
3
4
class Setup {
5
6
public static void main(String[] args) throws Exception {
7
8
Table t1 = new Table("http://dc-6.calit2.uci.edu/test.iotcloud/", "reallysecret", 260, -1);
9
t1.initTable();
10
11
String a = "bulb";
12
IoTString ia = new IoTString(a);
13
14
t1.createNewKey(ia, 260);
15
16
t1.update();
17
}
18
}