public class AWSIotMqttLastWillAndTestament extends Object
| Constructor and Description |
|---|
AWSIotMqttLastWillAndTestament(String willTopic,
String willMessage,
AWSIotMqttQos willQos)
Create a new LWT parameter object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Get the LWT message to be delivered.
|
AWSIotMqttQos |
getQos()
Get the Quality of Service for the LWT message.
|
String |
getTopic()
Get the LWT topic.
|
public AWSIotMqttLastWillAndTestament(String willTopic, String willMessage, AWSIotMqttQos willQos)
willTopic - the topic on which the will message will be delivered.willMessage - payload of will message.willQos - the quality of service requested for the will message.public String getTopic()
public String getMessage()
public AWSIotMqttQos getQos()
Copyright © 2017. All rights reserved.