From ea1df99ee3ab248cb72277f64a2e0011da663bb7 Mon Sep 17 00:00:00 2001
From: sean.zhou <sean.zhou@dji.com>
Date: Mon, 25 Jul 2022 15:07:38 +0800
Subject: [PATCH] delete

---
 src/main/java/com/dji/sample/component/mqtt/service/IMessageSenderService.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/dji/sample/component/mqtt/service/IMessageSenderService.java b/src/main/java/com/dji/sample/component/mqtt/service/IMessageSenderService.java
index 7930d41..152d6a8 100644
--- a/src/main/java/com/dji/sample/component/mqtt/service/IMessageSenderService.java
+++ b/src/main/java/com/dji/sample/component/mqtt/service/IMessageSenderService.java
@@ -1,6 +1,9 @@
 package com.dji.sample.component.mqtt.service;
 
 import com.dji.sample.component.mqtt.model.CommonTopicResponse;
+import com.dji.sample.component.mqtt.model.ServiceReply;
+
+import java.util.Optional;
 
 /**
  * @author sean.zhou
@@ -24,4 +27,11 @@
      */
     void publish(String topic, int qos, CommonTopicResponse response);
 
+    /**
+     * Send live streaming start message and receive a response at the same time
+     * @param topic
+     * @param response  notification of whether the start is successful.
+     * @return
+     */
+    Optional<ServiceReply> publishWithReply(String topic, CommonTopicResponse response);
 }

--
Gitblit v1.9.3