MqttPublishMessage

Represents an MQTT PUBLISH message

package

Default

Methods

__construct

__construct() 

isDup

isDup() : boolean

Response

boolean

If the message is a duplicate

isRetain

isRetain() : boolean

Response

boolean

If the message needs to be retained

messageId

messageId() : integer

Response

integer

Message identifier

payload

payload() : \io\vertx\jphp\core\buffer\Buffer

Response

\io\vertx\jphp\core\buffer\Buffer

Payload message

qosLevel

qosLevel() : string

Response

string

Quality of service level

topicName

topicName() : string

Response

string

Topic on which the message was published