From 9c797fa0d704ef8ffb65cd1716b8eb694b4c46c3 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期五, 04 七月 2025 17:28:00 +0800
Subject: [PATCH] 2025.7.4 1. 新增动态污染溯源新的判定逻辑

---
 src/main/kotlin/com/flightfeather/uav/socket/handler/BaseHandler.kt |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/uav/socket/handler/BaseHandler.kt b/src/main/kotlin/com/flightfeather/uav/socket/handler/BaseHandler.kt
index 90808a1..42634b7 100644
--- a/src/main/kotlin/com/flightfeather/uav/socket/handler/BaseHandler.kt
+++ b/src/main/kotlin/com/flightfeather/uav/socket/handler/BaseHandler.kt
@@ -15,12 +15,10 @@
     abstract var tag: String
 
     override fun channelRegistered(ctx: ChannelHandlerContext?) {
-        super.channelRegistered(ctx)
         println("------銆�${tag}銆慖P杩炴帴锛歔ip:${ctx?.channel()?.remoteAddress()}] ${
             SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(
                 Date()
             )}")
-//        ctx?.fireChannelActive()
     }
 
     override fun channelActive(ctx: ChannelHandlerContext?) {
@@ -28,19 +26,13 @@
             SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(
                 Date()
             )}")
-        super.channelActive(ctx)
     }
 
     override fun channelRead(ctx: ChannelHandlerContext?, msg: Any?) {
-        super.channelRead(ctx, msg)
         println("------銆�${tag}銆戞敹鍒扮殑鍘熷鏁版嵁锛歔ip:${ctx?.channel()?.remoteAddress()}] ${
             SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(
                 Date()
             )}")
-    }
-
-    override fun channelReadComplete(ctx: ChannelHandlerContext?) {
-        super.channelReadComplete(ctx)
     }
 
     override fun channelInactive(ctx: ChannelHandlerContext?) {
@@ -48,7 +40,6 @@
             SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(
                 Date()
             )}")
-        super.channelInactive(ctx)
     }
 
     @Deprecated("Deprecated in Java")

--
Gitblit v1.9.3