public class DefaultFunctionInvokeMessageReply extends CommonThingMessageReply<DefaultFunctionInvokeMessageReply> implements ThingFunctionInvokeMessageReply
| 构造器和说明 |
|---|
DefaultFunctionInvokeMessageReply() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DefaultFunctionInvokeMessageReply |
create() |
static DefaultFunctionInvokeMessageReply |
error(String thingType,
String thingId,
String functionId,
String messageId,
String message) |
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject) |
MessageType |
getMessageType() |
DefaultFunctionInvokeMessageReply |
output(Object output)
设置功能的输出值
|
DefaultFunctionInvokeMessageReply |
success() |
DefaultFunctionInvokeMessageReply |
success(Object output) |
static DefaultFunctionInvokeMessageReply |
success(String thingType,
String thingId,
String functionId,
String messageId,
Object output) |
addHeader, addHeader, addHeaderIfAbsent, castSelf, code, computeHeader, copy, error, error, from, message, messageId, removeHeader, thingId, thingId, 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, validatepublic MessageType getMessageType()
getMessageType 在接口中 ThingFunctionInvokeMessageReplygetMessageType 在接口中 Messagepublic static DefaultFunctionInvokeMessageReply create()
public DefaultFunctionInvokeMessageReply success()
success 在接口中 ThingMessageReplysuccess 在类中 CommonThingMessageReply<DefaultFunctionInvokeMessageReply>public DefaultFunctionInvokeMessageReply success(Object output)
public DefaultFunctionInvokeMessageReply output(Object output)
ThingFunctionInvokeMessageReplyoutput 在接口中 ThingFunctionInvokeMessageReplyoutput - outputpublic void fromJson(com.alibaba.fastjson.JSONObject jsonObject)
fromJson 在接口中 JsonablefromJson 在类中 CommonThingMessageReply<DefaultFunctionInvokeMessageReply>public static DefaultFunctionInvokeMessageReply success(String thingType, String thingId, String functionId, String messageId, Object output)
Copyright © 2019–2022. All rights reserved.