Package | Description |
---|---|
io.vertx.mqtt |
= Vert.x MQTT
== Using Vert.x MQTT
This component had officially released in the Vert.x stack, just following dependency to the _dependencies_ section
of your build descriptor:
* Maven (in your `pom.xml`):
[source,xml,subs="+attributes"]
----
|
io.vertx.mqtt.messages |
Modifier and Type | Method and Description |
---|---|
MqttEndpoint |
MqttEndpoint.publishHandler(io.vertx.core.Handler<MqttPublishMessage> handler)
Set the publish handler on the MQTT endpoint.
|
MqttClient |
MqttClient.publishHandler(io.vertx.core.Handler<MqttPublishMessage> publishHandler)
Sets handler which will be called each time server publish something to client
|
Modifier and Type | Method and Description |
---|---|
static MqttPublishMessage |
MqttPublishMessage.create(int messageId,
io.netty.handler.codec.mqtt.MqttQoS qosLevel,
boolean isDup,
boolean isRetain,
String topicName,
io.netty.buffer.ByteBuf payload)
Create a concrete instance of a Vert.x publish message
|
Copyright © 2018 Eclipse. All rights reserved.