Class: MqttPublishMessage

vertx-mqtt-server-js/mqtt_publish_message~ MqttPublishMessage

new MqttPublishMessage()

Represents an MQTT PUBLISH message
Source:

Methods

isDup() → {boolean}

Source:
Returns:
If the message is a duplicate
Type
boolean

isRetain() → {boolean}

Source:
Returns:
If the message needs to be retained
Type
boolean

messageId() → {number}

Source:
Returns:
Message identifier
Type
number

payload() → {Buffer}

Source:
Returns:
Payload message
Type
Buffer

qosLevel() → {Object}

Source:
Returns:
Quality of service level
Type
Object

topicName() → {string}

Source:
Returns:
Topic on which the message was published
Type
string