From a011a040996dd4cdb0152aae2206aebc7f4f7034 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期三, 26 五月 2021 10:49:08 +0800
Subject: [PATCH] refactor, log dir.
---
proto/source/bhome_msg.proto | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/proto/source/bhome_msg.proto b/proto/source/bhome_msg.proto
index dcb5c56..f34aebb 100644
--- a/proto/source/bhome_msg.proto
+++ b/proto/source/bhome_msg.proto
@@ -19,6 +19,7 @@
uint64 ssn_id = 5; // node mq id
bytes proc_id = 6;
bytes topic = 7; // for request route
+ BHAddress dest = 8; // other host
}
@@ -49,6 +50,8 @@
// kMsgTypeUnsubscribeReply = 25;
kMsgTypeUnregister = 26;
// kMsgTypeUnregisterReply = 27;
+ kMsgTypeQueryProc = 28;
+ kMsgTypeQueryProcReply = 29;
}
@@ -62,11 +65,14 @@
MsgTopicList topics = 1;
}
-message MsgProcInit{ } // proc_id is in header.
+message MsgProcInit{
+ int32 extra_mq_num = 1;
+} // proc_id is in header.
message MsgProcInitReply {
ErrorMsg errmsg = 1;
int32 proc_index = 2;
+ repeated BHAddress extra_mqs = 3;
}
service TopicRPC {
--
Gitblit v1.8.0