初始化

This commit is contained in:
qiminbao
2025-08-20 16:50:00 +08:00
commit 02e9bacb88
38 changed files with 2236 additions and 0 deletions
@@ -0,0 +1,23 @@
package com.tongran.agenttcp.server.basics;
import com.tongran.agenttcp.server.model.UpMsgResponse;
public interface AgentMsgHandler {
/**
* 处理终端传入的消息, 然后进行返回
*
* @return 需要发送给终端的消息
*/
default UpMsgResponse upHandle(String data) {
return null;
}
default String downHandle(String data) {
return "";
}
}