From 3f8ae6cf4f03be83f16846af32d73dd89b937c40 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期二, 30 三月 2021 15:45:54 +0800
Subject: [PATCH] add dot separated topic partial match; refactor.

---
 src/defs.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/defs.h b/src/defs.h
index 40421e0..56c6c9c 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -26,6 +26,7 @@
 
 const MQId kBHBusQueueId = boost::uuids::string_generator()("01234567-89ab-cdef-8349-1234567890ff");
 const int kBHCenterPort = 24287;
+const char kTopicSep = '.';
 //TODO center can check shm for previous crash.
 
 #endif // end of include guard: DEFS_KP8LKGD0

--
Gitblit v1.8.0