Making classes final to make inheritance impossible
[iot2.git] / benchmarks / other / ZigbeeTest / IoTZigbeeMessage.java
1
2 /** Zigbee Message generic class.
3  *
4  * @author      Ali Younis <ayounis @ uci.edu>
5  * @version     1.0
6  * @since       2016-04-19
7  */
8 public class IoTZigbeeMessage {
9
10         // private variables
11         private int packetId;
12
13         /**
14          * Constructor
15          */
16         public IoTZigbeeMessage(int _packetId) {
17                 packetId = _packetId;
18         }
19
20
21         /**
22          * getPacketId() method that returns the packet id of the received message
23          *
24          * @return int
25          */
26         public int getPacketId() {
27                 return packetId;
28         }
29
30 }