rain
2024-06-06 d4aecf9fb7d3d1dd504693f8d7175235087e4aeb
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);
}