public class ChildDeviceMessage extends CommonDeviceMessage implements RepayableDeviceMessage<ChildDeviceMessageReply>
Message,
ChildDeviceMessageReply,
DeviceConfigKey.parentGatewayId,
序列化表格| 构造器和说明 |
|---|
ChildDeviceMessage() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ChildDeviceMessage |
create(String deviceId,
DeviceMessage message) |
MessageType |
getMessageType() |
ChildDeviceMessageReply |
newReply()
新建一个回复对象
|
com.alibaba.fastjson.JSONObject |
toJson() |
void |
validate() |
addHeader, addHeaderIfAbsent, computeHeader, fromJson, getThingId, getThingType, messageId, removeHeader, thingId, timestamp, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddHeader, addHeader, addHeaderIfAbsent, addHeaderIfAbsent, copy, getDeviceId, getThingId, getThingType, getTimestampcomputeHeader, computeHeader, getHeader, getHeader, getHeaderOrDefault, getHeaderOrElse, getHeaderOrElse, getHeaders, getMessageId, getOrAddHeader, getOrAddHeaderDefault, removeHeaderpublic static ChildDeviceMessage create(String deviceId, DeviceMessage message)
public ChildDeviceMessageReply newReply()
RepayableDeviceMessagenewReply 在接口中 RepayableDeviceMessage<ChildDeviceMessageReply>newReply 在接口中 RepayableThingMessage<ChildDeviceMessageReply>ReadPropertyMessageReply,
WritePropertyMessageReply,
FunctionInvokeMessageReplypublic com.alibaba.fastjson.JSONObject toJson()
toJson 在接口中 JsonabletoJson 在类中 CommonDeviceMessagepublic MessageType getMessageType()
getMessageType 在接口中 MessageCopyright © 2019–2022. All rights reserved.