From 6e0f7fae6eda7ffa18c4289d19a705f272174911 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期三, 05 一月 2022 15:23:14 +0800
Subject: [PATCH] 为级联平台增加虚拟目录功能
---
src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java | 12 ++++++++++++
1 files changed, 12 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..c890b05 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 娴佷俊鎭�
@@ -177,8 +185,12 @@
*/
void updateDevice(Device device);
+ void removeDevice(String deviceId);
+
/**
* 鑾峰彇Device
*/
Device getDevice(String deviceId);
+
+ void resetAllCSEQ();
}
--
Gitblit v1.8.0