+
+ /*public static void main(String[] args) throws Exception {
+
+ System.out.println("Executing main function!");
+ IoTDeviceAddress iotDevAdd1 = new IoTDeviceAddress("192.168.0.129", 10009, 80, false, false);
+ IoTDeviceAddress iotDevAdd2 = new IoTDeviceAddress("192.168.0.84", 10010, 80, false, false);
+ Set<IoTDeviceAddress> setBlossom = new HashSet<IoTDeviceAddress>();
+ Set<IoTDeviceAddress> setLocal = new HashSet<IoTDeviceAddress>();
+ setBlossom.add(iotDevAdd1);
+ setLocal.add(iotDevAdd2);
+ IoTSet<IoTDeviceAddress> iotsetBlossom = new IoTSet<IoTDeviceAddress>(setBlossom);
+ IoTSet<IoTDeviceAddress> iotsetLocal = new IoTSet<IoTDeviceAddress>(setLocal);
+ String channelID = "1bd60b0c-2a99-4c83-8a7d-f97bd3f77a51";
+ BlossomSprinkler bs = new BlossomSprinkler(channelID, iotsetBlossom, iotsetLocal);
+ bs.init();
+ System.out.println("Finished init()");
+ Thread.sleep(30000);
+ bs.setZone(0, true, 120);
+ System.out.println("Finished setZone!");
+
+ }*/