From dc12826dd61ce18fac3a9561c5843d30a0cf9660 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期五, 02 四月 2021 15:48:53 +0800 Subject: [PATCH] add request topic cache; refactor req/rep center. --- src/msg.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/msg.h b/src/msg.h index 8c345fd..30b3208 100644 --- a/src/msg.h +++ b/src/msg.h @@ -69,6 +69,7 @@ BHMsg MakeUnsub(const MQId &client, const std::vector<std::string> &topics); BHMsg MakePub(const std::string &topic, const void *data, const size_t size); +// message content layout: header_size + header + data_size + data class MsgI { private: -- Gitblit v1.8.0