Testing Smartthings sensors with some adjustments for 4th benchmark
[iot2.git] / benchmarks / other / ZigbeeTest / IoTZigbeeCallback.java
diff --git a/benchmarks/other/ZigbeeTest/IoTZigbeeCallback.java b/benchmarks/other/ZigbeeTest/IoTZigbeeCallback.java
new file mode 100644 (file)
index 0000000..94d75db
--- /dev/null
@@ -0,0 +1,17 @@
+
+/** Zigbee Callback for when a zigbee message is received.
+ *
+ * @author      Ali Younis <ayounis @ uci.edu>
+ * @version     1.0
+ * @since       2016-04-12
+ */
+public interface IoTZigbeeCallback {
+
+       /** Callback method for when data comes from the zigbee object
+        *
+        *   @param zigbee message class [IoTZigbeeMessage] .
+        *
+        *   @return [void] None.
+        */
+       public void newMessageAvailable(IoTZigbeeMessage _zm);
+}