瀏覽代碼

prepare for cluster twister

herlanS_ 3 年之前
父節點
當前提交
3b09f31c8b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/kotlin/co/id/datacomsolusindo/ipphonebridge/ClientHolder.kt

+ 2 - 2
src/main/kotlin/co/id/datacomsolusindo/ipphonebridge/ClientHolder.kt

@@ -25,13 +25,13 @@ object ClientHolder {
     fun removeBySessionId(sessionId: String?) {
         clientMap.entries.filter { it.value.sessionId == sessionId }.forEach {
             clientMap.remove(it.key)
-            //unsubscribe incoming data
+            //unsubscribe "/topic/partial/client"
         }
     }
 
     fun put(key: String, client: Client) {
         clientMap.getOrPut(key) { client }
-        //subscribe incoming data
+        //subscribe  "/topic/partial/client"
     }
 
     fun get() = clientMap