Skip to content

Commit

Permalink
del[ask]: remove useless protocol classes of GatewaySessionInactiveAsk
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysunxiao committed Jan 18, 2024
1 parent dd929af commit 6e0724f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions boot/src/main/java/com/zfoo/boot/graalvm/GraalvmNetHints.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
classes.add(UdpAttachment.class);
classes.add(HttpAttachment.class);
classes.add(NoAnswerAttachment.class);
classes.add(GatewaySessionInactiveAsk.class);
classes.add(GatewaySynchronizeSidAsk.class);

// packet
classes.add(Message.class);
Expand Down
4 changes: 0 additions & 4 deletions net/src/test/resources/protocol.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
<protocol location="com.zfoo.net.router.attachment.UdpAttachment"/>
<protocol location="com.zfoo.net.router.attachment.HttpAttachment"/>
<protocol location="com.zfoo.net.router.attachment.NoAnswerAttachment"/>


<protocol location="com.zfoo.net.core.gateway.model.GatewaySessionInactiveAsk"/>
<protocol location="com.zfoo.net.core.gateway.model.GatewaySynchronizeSidAsk"/>
</module>

<!-- 在xml文件中写协议号是为了统一规划协议号,更加直观;不写协议号也没有影响 -->
Expand Down

0 comments on commit 6e0724f

Please sign in to comment.