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 |
---|---|
MqttClient |
MqttClient.connect(int port,
String host,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MqttConnAckMessage>> connectHandler)
Connects to an MQTT server calling connectHandler after connection
|
MqttClient |
MqttClient.connect(int port,
String host,
String serverName,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MqttConnAckMessage>> connectHandler)
Connects to an MQTT server calling connectHandler after connection
|
Modifier and Type | Method and Description |
---|---|
static MqttConnAckMessage |
MqttConnAckMessage.create(io.netty.handler.codec.mqtt.MqttConnectReturnCode code,
boolean isSessionPresent)
Create a concrete instance of a Vert.x connack message
|
Copyright © 2018 Eclipse. All rights reserved.