13 lines
184 B
JavaScript
Raw Normal View History

2018-05-16 10:44:10 +02:00
function Packet () {
this.cmd = null
this.retain = false
this.qos = 0
this.dup = false
this.length = -1
this.topic = null
this.payload = null
}
module.exports = Packet