From 5f0b4dced466ca0a7a0a0242c78b22a722a2f5f4 Mon Sep 17 00:00:00 2001 From: wuzeyu <1223318623@qq.com> Date: 星期四, 01 八月 2024 10:47:59 +0800 Subject: [PATCH] 优化代码 --- pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/java/com/dy/testServer/ServerProperties.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/java/com/dy/testServer/ServerProperties.java b/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/java/com/dy/testServer/ServerProperties.java index de6cd2d..cb75a64 100644 --- a/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/java/com/dy/testServer/ServerProperties.java +++ b/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/java/com/dy/testServer/ServerProperties.java @@ -12,7 +12,13 @@ public static String tcpServerIp = "" ; //鏈嶅姟绔笂涓嬫枃 public static Integer tcpServerPort = 60000 ; + //鍙戦�佹暟鎹棿闅� 绉� + public static Integer sendInterval = 0 ; + //姣忎竴杞鍙戦�佹暟鎹紝鍏朵腑鍖呮嫭蹇冭烦鍙戦�佹鏁� + public static Integer heartbeatTimes = 0 ; //鍙戦�佹暟鎹鏁� public static Integer sendTimes = 0 ; + //鍙戦�佸畬鏁版嵁鍚庯紝鏄惁鍏抽棴TCP杩炴帴锛�1鏄紝0鍚� + public static Integer sendOverThenCloseConnect = 0 ; } -- Gitblit v1.8.0