IOTConnect-Web/node_modules/mqtt-packet/packet.js

14 lines
214 B
JavaScript
Raw Normal View History

2024-05-09 01:49:52 +00:00
class Packet {
constructor () {
this.cmd = null
this.retain = false
this.qos = 0
this.dup = false
this.length = -1
this.topic = null
this.payload = null
}
}
module.exports = Packet