@@ -45,4 +45,8 @@ enum ActionProgress {
INPROGRESS = 1;
FAILED = 2;
CANCELLED = 3;
+}
+
+enum MsgIdMain {
+ S_NotFound = 0;
}
@@ -5,10 +5,10 @@ package protos;
/// 逻辑服务器报告状态作为心跳
message StatusParams {
- int32 active = 1;
- int32 support = 2;
- int64 ts = 4;
- int32 priority = 8;
+ int32 active = 1; // 链接数
+ int32 support = 2; // 最大支持连接数
+ int64 ts = 4; // 当前时间
+ int32 priority = 8; // 进程优先级
message StatusResult {
@@ -5,6 +5,11 @@ import "structs.proto";
/// 逻辑服务器之外(大厅,对应进程 tajmahal )的到客户端的协议
+/// 无法识别
+message S_NotFound {
/// 心跳
message C_Heartbeat {
int64 ts = 1;
@@ -1,2 +1,2 @@
syntax = "proto3";
-package protos.modules;
+package modules;