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