Merge branch 'master' of ssh://plrg.eecs.uci.edu/home/git/iot2
[iot2.git] / iotjava / iotruntime / zigbee / IoTZigbeeMessage.java
1 package iotruntime.zigbee;
2
3 /** Zigbee Message generic class.
4  *
5  * @author      Ali Younis <ayounis @ uci.edu>
6  * @version     1.0
7  * @since       2016-04-19
8  */
9 public class IoTZigbeeMessage {
10
11         // private variables
12         private int packetId;
13
14         /**
15          * Constructor
16          */
17         public IoTZigbeeMessage(int _packetId) {
18                 packetId = _packetId;
19         }
20
21
22         /**
23          * getPacketId() method that returns the packet id of the received message
24          *
25          * @return int
26          */
27         public int getPacketId() {
28                 return packetId;
29         }
30
31 }