public class ChildDeviceMessageReply extends CommonDeviceMessageReply<ChildDeviceMessageReply>
| 构造器和说明 |
|---|
ChildDeviceMessageReply() |
| 限定符和类型 | 方法和说明 |
|---|---|
ChildDeviceMessageReply |
code(String code) |
<T> void |
doWithChildReply(T arg,
java.util.function.BiConsumer<DeviceMessageReply,T> childReplyConsumer) |
ChildDeviceMessageReply |
error(ErrorCode errorCode) |
ChildDeviceMessageReply |
error(Throwable e) |
MessageType |
getMessageType() |
ChildDeviceMessageReply |
message(String message) |
com.alibaba.fastjson.JSONObject |
toJson() |
addHeader, addHeader, addHeaderIfAbsent, computeHeader, copy, deviceId, from, fromJson, getThingId, getThingType, messageId, removeHeader, success, timestamp, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCode, getMessage, isSuccess, thingIdaddHeaderIfAbsent, getDeviceId, getTimestampthingId, thingIdcomputeHeader, getHeader, getHeader, getHeaderOrDefault, getHeaderOrElse, getHeaderOrElse, getHeaders, getMessageId, getOrAddHeader, getOrAddHeaderDefault, validatepublic MessageType getMessageType()
public ChildDeviceMessageReply error(Throwable e)
error 在接口中 DeviceMessageReplyerror 在接口中 ThingMessageReplyerror 在类中 CommonDeviceMessageReply<ChildDeviceMessageReply>public ChildDeviceMessageReply error(ErrorCode errorCode)
error 在接口中 DeviceMessageReplyerror 在接口中 ThingMessageReplyerror 在类中 CommonDeviceMessageReply<ChildDeviceMessageReply>public ChildDeviceMessageReply message(String message)
message 在接口中 DeviceMessageReplymessage 在接口中 ThingMessageReplymessage 在类中 CommonDeviceMessageReply<ChildDeviceMessageReply>public ChildDeviceMessageReply code(String code)
code 在接口中 DeviceMessageReplycode 在接口中 ThingMessageReplycode 在类中 CommonDeviceMessageReply<ChildDeviceMessageReply>public <T> void doWithChildReply(T arg,
java.util.function.BiConsumer<DeviceMessageReply,T> childReplyConsumer)
public com.alibaba.fastjson.JSONObject toJson()
toJson 在接口中 JsonabletoJson 在类中 CommonDeviceMessageReply<ChildDeviceMessageReply>Copyright © 2019–2022. All rights reserved.