Package | Description |
---|---|
io.vertx.mqtt | |
io.vertx.mqtt.messages |
Modifier and Type | Method and Description |
---|---|
io.vertx.core.Future<MqttConnAckMessage> |
MqttClient.connect(int port,
String host)
Like
MqttClient.connect(int, String, Handler) but returns a Future of the asynchronous result |
io.vertx.core.Future<MqttConnAckMessage> |
MqttClient.connect(int port,
String host,
String serverName)
Like
MqttClient.connect(int, String, String, Handler) but returns a Future of the asynchronous result |
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 © 2021 Eclipse. All rights reserved.