rain
2024-06-14 8d9a2d656e4ae007590c622e5f7c228adacdca49
src/main/java/com/dji/sample/component/mqtt/service/IMessageSenderService.java
@@ -28,6 +28,7 @@
    /**
     * Send message and receive a response at the same time.
     * 发送消息并同时接收响应。
     * @param clazz
     * @param topic
     * @param response  notification of whether the start is successful.
@@ -87,4 +88,11 @@
     * @return
     */
    ServiceReply publishServicesTopic(String sn, String method, Object data);
    <T> ServiceReply<T> publishRequestsTopic(TypeReference<T> clazz, String sn, String method, Object data, String bid);
    ServiceReply publishRequestsTopic(String sn, String method, Object data, String bid);
    ServiceReply publishRequestsTopic(String sn, String method, Object data);
}