public class Notification extends Object
| Constructor and Description |
|---|
Notification(String type,
String id,
org.eclipse.paho.client.mqttv3.MqttMessage msg)
Note that this class does not have a default constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDeviceId() |
String |
getDeviceType() |
org.eclipse.paho.client.mqttv3.MqttMessage |
getMessage() |
public Notification(String type, String id, org.eclipse.paho.client.mqttv3.MqttMessage msg) throws UnsupportedEncodingException
type - Object of String which denotes command typeid - Object of String which denotes command idmsg - Object of MqttMessage which denotes actual messageUnsupportedEncodingException - When the format is not UTF-8Copyright © 2019. All rights reserved.