Testing Smartthings sensors with some adjustments for 4th benchmark
[iot2.git] / benchmarks / other / ZigbeeTest / IoTZigbeeMessageZclConfigureReporting.java
diff --git a/benchmarks/other/ZigbeeTest/IoTZigbeeMessageZclConfigureReporting.java b/benchmarks/other/ZigbeeTest/IoTZigbeeMessageZclConfigureReporting.java
new file mode 100644 (file)
index 0000000..60a98cb
--- /dev/null
@@ -0,0 +1,41 @@
+
+/** Zigbee Message Zcl Configure Reporting.
+ *
+ * @author      Ali Younis <ayounis @ uci.edu>
+ * @version     1.0
+ * @since       2016-04-19
+ */
+public class IoTZigbeeMessageZclConfigureReporting extends IoTZigbeeMessage {
+
+       // private variables
+       private boolean succeeded;
+       private String message;
+
+       /**
+        * Constructor
+        */
+       public IoTZigbeeMessageZclConfigureReporting(int _packetId, boolean _succeded, String _message) {
+               super(_packetId);
+               message = _message;
+               succeeded = _succeded;
+       }
+
+
+       /**
+        * getSucceeded() method that returns the success status
+        *
+        * @return boolean
+        */
+       public boolean getSucceeded() {
+               return succeeded;
+       }
+
+       /**
+        * getMessage() method that returns the error message
+        *
+        * @return String
+        */
+       public String getMessage() {
+               return message;
+       }
+}