syntax = "proto3";
|
option optimize_for = LITE_RUNTIME;
|
option go_package="./bhome_msg";
|
|
import "bhome_msg_api.proto";
|
import "error_msg.proto";
|
|
package bhome_msg;
|
|
message MsgProcTopicsAll {
|
ProcInfo proc = 1; //进程信息
|
int32 port = 2; //进程占用的端口
|
bool online = 3; //是否在线
|
MsgTopicList topic_list = 4; //进程提供的主题列表
|
MsgTopicList local_sublist = 5; //进程订阅的本地主题列表
|
MsgTopicList net_sublist = 6; //进程订阅的网络主题列表
|
}
|
|
message MsgDevRegisterInfo {
|
bytes devId = 1; //设备id
|
bytes ip = 2; //设备ip
|
int32 proxyPort = 3; //代理的端口
|
repeated MsgProcTopicsAll procInfos = 4; //当前设备的所有进程信息列表
|
}
|
|
message Arr_MsgDevRegisterInfo {
|
repeated MsgDevRegisterInfo arr = 1;
|
}
|
|
message TopicProcAddr {
|
bytes devId = 1;
|
bytes ip = 2;
|
bytes procId = 3;
|
int32 port = 4;
|
}
|
|
message TopicQueryNodeAddr {
|
repeated TopicProcAddr addrs = 1;
|
}
|