| | |
| | | |
| | | import com.fzzy.api.utils.BytesUtil; |
| | | import com.fzzy.api.utils.SpringUtil; |
| | | import com.fzzy.protocol.wujia.analysis.AnalysisService; |
| | | import com.fzzy.protocol.youxian0.analysis.AnalysisService; |
| | | import com.fzzy.protocol.youxian0.client.ClientEngine; |
| | | import io.netty.channel.ChannelHandlerContext; |
| | | import io.netty.channel.SimpleChannelInboundHandler; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | InetSocketAddress socketAddress = (InetSocketAddress) ctx.channel().remoteAddress(); |
| | | |
| | | log.info("连接终端掉线,IP={},port={}", socketAddress.getAddress(), socketAddress.getPort()); |
| | | |
| | | ClientEngine.defaultChannel = null; |
| | | |
| | | } |
| | | |