Creating new directory for all Java benchmarks
[iot2.git] / benchmarks / Java / SmartLightsController / MotionDetectionCallback.java
diff --git a/benchmarks/Java/SmartLightsController/MotionDetectionCallback.java b/benchmarks/Java/SmartLightsController/MotionDetectionCallback.java
new file mode 100644 (file)
index 0000000..98d9636
--- /dev/null
@@ -0,0 +1,20 @@
+package SmartLightsController;
+
+/** Interface MotionDetectionCallback for allowing callbacks from the MotionDetection class.
+ *
+ *
+ * @author      Ali Younis <ayounis @ uci.edu>
+ * @version     1.0
+ * @since       2016-03-21
+ */
+
+public interface MotionDetectionCallback {
+
+       /** Callback method for when motion is detected.
+        *
+        *   @param _md [MotionDetection].
+        *
+        *   @return [void] None.
+        */
+       public void motionDetected(MotionDetection _md);
+}