From b55ffe89f4b237be5f79232cfddfe22bfdb87c64 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期四, 01 四月 2021 13:23:48 +0800
Subject: [PATCH] make req/rep,sub/pub sockets sub class;

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

diff --git a/src/msg.h b/src/msg.h
index 2154eba..ea1e636 100644
--- a/src/msg.h
+++ b/src/msg.h
@@ -59,7 +59,9 @@
 	int num_ = 1;
 };
 
+BHMsg MakeQueryTopic(const std::string &topic);
 BHMsg MakeRequest(const MQId &src_id, const void *data, const size_t size);
+BHMsg MakeRequest(const MQId &src_id, const std::string &topic, const void *data, const size_t size);
 BHMsg MakeReply(const void *data, const size_t size);
 BHMsg MakeSub(const MQId &client, const std::vector<std::string> &topics);
 BHMsg MakeUnsub(const MQId &client, const std::vector<std::string> &topics);

--
Gitblit v1.8.0