public class MqttAuth extends Object
Constructor and Description |
---|
MqttAuth(io.vertx.core.json.JsonObject json)
Create instance from JSON
|
MqttAuth(String userName,
String password)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
password() |
io.vertx.core.json.JsonObject |
toJson()
Convert instance in JSON
|
String |
userName() |
public MqttAuth(String userName, String password)
userName
- MQTT client usernamepassword
- MQTT client passwordpublic MqttAuth(io.vertx.core.json.JsonObject json)
json
- the JSONpublic String userName()
public String password()
public io.vertx.core.json.JsonObject toJson()
Copyright © 2018 Eclipse. All rights reserved.