Making classes final to make inheritance impossible
[iot2.git] / benchmarks / other / ZigbeeTest / IoTZigbeeMessageZclConfigureReporting.java
1
2 /** Zigbee Message Zcl Configure Reporting.
3  *
4  * @author      Ali Younis <ayounis @ uci.edu>
5  * @version     1.0
6  * @since       2016-04-19
7  */
8 public class IoTZigbeeMessageZclConfigureReporting extends IoTZigbeeMessage {
9
10         // private variables
11         private boolean succeeded;
12         private String message;
13
14         /**
15          * Constructor
16          */
17         public IoTZigbeeMessageZclConfigureReporting(int _packetId, boolean _succeded, String _message) {
18                 super(_packetId);
19                 message = _message;
20                 succeeded = _succeded;
21         }
22
23
24         /**
25          * getSucceeded() method that returns the success status
26          *
27          * @return boolean
28          */
29         public boolean getSucceeded() {
30                 return succeeded;
31         }
32
33         /**
34          * getMessage() method that returns the error message
35          *
36          * @return String
37          */
38         public String getMessage() {
39                 return message;
40         }
41 }