From 34cd75f77d0ca94dbdba4e6cc9451fe4d33e78b3 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期三, 19 五月 2021 19:14:13 +0800 Subject: [PATCH] add api BHQueryProcs. --- src/socket.h | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/socket.h b/src/socket.h index dea106c..7557034 100644 --- a/src/socket.h +++ b/src/socket.h @@ -99,8 +99,6 @@ { return SendImpl(remote, cmd, std::forward<decltype(t)>(t)...); } - bool SyncRecv(int64_t &cmd, const int timeout_ms); - bool SyncRecv(MsgI &msg, bhome_msg::BHMsgHead &head, const int timeout_ms); template <class Body> bool SendAndRecv(const MQInfo &remote, BHMsgHead &head, Body &body, MsgI &reply, BHMsgHead &reply_head, const int timeout_ms) @@ -190,8 +188,8 @@ Synced<CallbackRecords<std::string, RecvCB>> per_msg_cbs_; Synced<CallbackRecords<int, RawRecvCB>> alloc_cbs_; - SendQ send_buffer_; + // node request center alloc memory. int node_proc_index_ = -1; int socket_index_ = -1; -- Gitblit v1.8.0