Adding last version of iotruntime and iotinstaller; preparing to extend IoTMaster...
[iot2.git] / iotjava / iotruntime / zigbee / IoTZigbeeMessageZclConfigureReporting.java
diff --git a/iotjava/iotruntime/zigbee/IoTZigbeeMessageZclConfigureReporting.java b/iotjava/iotruntime/zigbee/IoTZigbeeMessageZclConfigureReporting.java
new file mode 100644 (file)
index 0000000..ff484c9
--- /dev/null
@@ -0,0 +1,42 @@
+package iotruntime.zigbee;
+
+/** 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;
+       }
+}