Adding more directory structure to generated files by compiler, also script to copy...
[iot2.git] / others / tutorial / benchmarks / drivers / SmartLightBulb / DeviceStateService.java
diff --git a/others/tutorial/benchmarks/drivers/SmartLightBulb/DeviceStateService.java b/others/tutorial/benchmarks/drivers/SmartLightBulb/DeviceStateService.java
new file mode 100644 (file)
index 0000000..22f34ac
--- /dev/null
@@ -0,0 +1,19 @@
+package iotcode.LifxLightBulb;
+
+public class DeviceStateService {
+       private final int service;
+       private final long port;
+
+       public DeviceStateService(int _service, long _port) {
+               service = _service;
+               port = _port;
+       }
+
+       public int getService() {
+               return service;
+       }
+
+       public long getPort() {
+               return port;
+       }
+}