Testing Smartthings sensors with some adjustments for 4th benchmark
[iot2.git] / benchmarks / other / ZigbeeTest / IoTZigbeeMessage.java
diff --git a/benchmarks/other/ZigbeeTest/IoTZigbeeMessage.java b/benchmarks/other/ZigbeeTest/IoTZigbeeMessage.java
new file mode 100644 (file)
index 0000000..c1df838
--- /dev/null
@@ -0,0 +1,30 @@
+
+/** Zigbee Message generic class.
+ *
+ * @author      Ali Younis <ayounis @ uci.edu>
+ * @version     1.0
+ * @since       2016-04-19
+ */
+public class IoTZigbeeMessage {
+
+       // private variables
+       private int packetId;
+
+       /**
+        * Constructor
+        */
+       public IoTZigbeeMessage(int _packetId) {
+               packetId = _packetId;
+       }
+
+
+       /**
+        * getPacketId() method that returns the packet id of the received message
+        *
+        * @return int
+        */
+       public int getPacketId() {
+               return packetId;
+       }
+
+}