Skip to content

Commit

Permalink
perf[protocol]: protocol reserved name
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysunxiao committed Oct 24, 2023
1 parent b5035ed commit b0c0170
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b0c0170

Please sign in to comment.