From 4e5cb7960ce4e7e66d5190be67426aeca8b55c3d Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期五, 09 四月 2021 18:45:08 +0800 Subject: [PATCH] add heartbeat, not tested yet. --- proto/source/bhome_msg.proto | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/proto/source/bhome_msg.proto b/proto/source/bhome_msg.proto index 5056a26..11ff5a2 100644 --- a/proto/source/bhome_msg.proto +++ b/proto/source/bhome_msg.proto @@ -62,6 +62,16 @@ } +message MsgSubscribe { + MsgTopicList topics = 1; +} +message MsgUnsubscribe { + MsgTopicList topics = 1; +} +message MsgRegisterRPC { + MsgTopicList topics = 1; +} + service TopicRPC { rpc Query (MsgQueryTopic) returns (MsgQueryTopicReply); rpc Request (MsgRequestTopic) returns (MsgQueryTopicReply); -- Gitblit v1.8.0