diff --git a/net/src/test/java/com/zfoo/net/core/tcp/server/TcpServerController.java b/net/src/test/java/com/zfoo/net/core/tcp/server/TcpServerController.java index 6799366e9..d1c05cb9e 100644 --- a/net/src/test/java/com/zfoo/net/core/tcp/server/TcpServerController.java +++ b/net/src/test/java/com/zfoo/net/core/tcp/server/TcpServerController.java @@ -35,7 +35,7 @@ public void atTcpHelloRequest(Session session, TcpHelloRequest request) { logger.info("receive [packet:{}] from client", JsonUtils.object2String(request)); var response = new TcpHelloResponse(); - response.setMessage("Hello, this is the tcp server!"); + response.setMessage("Hello, this is the tcp server! -> " + request.getMessage()); NetContext.getRouter().send(session, response); } diff --git a/protocol/src/main/java/com/zfoo/protocol/registration/ProtocolAnalysis.java b/protocol/src/main/java/com/zfoo/protocol/registration/ProtocolAnalysis.java index dc62e4636..2fa9ac7a6 100644 --- a/protocol/src/main/java/com/zfoo/protocol/registration/ProtocolAnalysis.java +++ b/protocol/src/main/java/com/zfoo/protocol/registration/ProtocolAnalysis.java @@ -69,7 +69,8 @@ public class ProtocolAnalysis { , "IProtocol", "IProtocolRegistration", "ProtocolManager", "IFieldRegistration" , "ByteBufUtils", "ArrayUtils", "CollectionUtils" , "Boolean", "Byte", "Short", "Integer", "Long", "Float", "Double", "String", "Character", "Object" - , "Collections", "Iterator", "List", "ArrayList", "Map", "HashMap", "Set", "HashSet"); + , "Collections", "Iterator", "List", "ArrayList", "Map", "HashMap", "Set", "HashSet" + , "DecodedPacketInfo", "EncodedPacketInfo"); /** * EN: Temp field, unsupported type