From 6aa7e4c37a70709e7348bd16407c5983a563ed76 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期一, 29 三月 2021 21:11:34 +0800 Subject: [PATCH] test pub/sub msg; fix update last_time; --- src/msg.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msg.h b/src/msg.h index 5cb0ce4..f3fe726 100644 --- a/src/msg.h +++ b/src/msg.h @@ -47,8 +47,8 @@ BHMsg MakeRequest(const MQId &src_id, const void *data, const size_t size); BHMsg MakeReply(const void *data, const size_t size); -BHMsg MakeSub(const std::vector<std::string> &topics); -BHMsg MakeUnsub(const std::vector<std::string> &topics); +BHMsg MakeSub(const MQId &client, const std::vector<std::string> &topics); +BHMsg MakeUnsub(const MQId &client, const std::vector<std::string> &topics); BHMsg MakePub(const std::string &topic, const void *data, const size_t size); class MsgI { -- Gitblit v1.8.0