public class FunctionInvokeMessageReply extends CommonDeviceMessageReply<FunctionInvokeMessageReply> implements ThingFunctionInvokeMessageReply
| 构造器和说明 |
|---|
FunctionInvokeMessageReply() |
| 限定符和类型 | 方法和说明 |
|---|---|
static FunctionInvokeMessageReply |
create() |
static FunctionInvokeMessageReply |
error(String deviceId,
String functionId,
String messageId,
String message) |
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject) |
MessageType |
getMessageType() |
FunctionInvokeMessageReply |
output(Object output)
设置功能的输出值
|
FunctionInvokeMessageReply |
success() |
FunctionInvokeMessageReply |
success(Object output) |
static FunctionInvokeMessageReply |
success(String deviceId,
String functionId,
String messageId,
Object output) |
addHeader, addHeader, addHeaderIfAbsent, code, computeHeader, copy, deviceId, error, error, from, getThingId, getThingType, message, messageId, removeHeader, timestamp, toJson, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFunctionId, getOutputaddHeader, addHeader, code, copy, error, error, from, getCode, getMessage, isSuccess, message, messageId, thingId, timestampgetThingId, getThingType, thingId, thingIdaddHeaderIfAbsent, addHeaderIfAbsent, computeHeader, computeHeader, getHeader, getHeader, getHeaderOrDefault, getHeaderOrElse, getHeaderOrElse, getHeaders, getMessageId, getOrAddHeader, getOrAddHeaderDefault, getTimestamp, removeHeader, validategetCode, getMessage, isSuccess, thingIdaddHeaderIfAbsent, getDeviceId, getTimestamppublic MessageType getMessageType()
getMessageType 在接口中 ThingFunctionInvokeMessageReplygetMessageType 在接口中 Messagepublic static FunctionInvokeMessageReply create()
public FunctionInvokeMessageReply success()
success 在接口中 DeviceMessageReplysuccess 在接口中 ThingMessageReplysuccess 在类中 CommonDeviceMessageReply<FunctionInvokeMessageReply>public FunctionInvokeMessageReply success(Object output)
public FunctionInvokeMessageReply output(Object output)
ThingFunctionInvokeMessageReplyoutput 在接口中 ThingFunctionInvokeMessageReplyoutput - outputpublic void fromJson(com.alibaba.fastjson.JSONObject jsonObject)
fromJson 在接口中 JsonablefromJson 在类中 CommonDeviceMessageReply<FunctionInvokeMessageReply>public static FunctionInvokeMessageReply success(String deviceId, String functionId, String messageId, Object output)
public static FunctionInvokeMessageReply error(String deviceId, String functionId, String messageId, String message)
Copyright © 2019–2022. All rights reserved.