public class DeviceStatus extends Status
DT_PARSER, JSON_PARSER| Constructor and Description |
|---|
DeviceStatus(String typeId,
String deviceId,
org.eclipse.paho.client.mqttv3.MqttMessage msg) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDeviceId() |
String |
getDeviceType() |
getAction, getClientAddr, getClientId, getConnectTime, getPayload, getPort, getProtocol, getReadBytes, getReadMsg, getReason, getTime, getUser, getWriteBytes, getWriteMsg, toStringpublic DeviceStatus(String typeId, String deviceId, org.eclipse.paho.client.mqttv3.MqttMessage msg) throws UnsupportedEncodingException
typeId - String of device typedeviceId - String of device idmsg - the mqtt messageUnsupportedEncodingException - When encoding is not UTF-8Copyright © 2019. All rights reserved.