From 0c10e8d9d3ca01fb31f632560f6089f5d2b1d585 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期二, 14 十二月 2021 18:41:50 +0800
Subject: [PATCH] 优化info消息的cseq计数

---
 src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java b/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java
index c9ffb35..68a772e 100644
--- a/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java
+++ b/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java
@@ -15,6 +15,14 @@
 public interface IRedisCatchStorage {
 
     /**
+     * 璁℃暟鍣ㄣ�備负cseq杩涜璁℃暟
+     *
+     * @param method sip 鏂规硶
+     * @return
+     */
+    Long getCSEQ(String method);
+
+    /**
      * 寮�濮嬫挱鏀炬椂灏嗘祦瀛樺叆
      *
      * @param stream 娴佷俊鎭�
@@ -181,4 +189,6 @@
      * 鑾峰彇Device
      */
     Device getDevice(String deviceId);
+
+    void resetAllCSEQ();
 }

--
Gitblit v1.8.0