文件名从 src/main/java/com/ard/utils/udp/NettyUdpHandler.java 修改 |
| | |
| | | package com.ard.utils.udp; |
| | | package com.ard.utils.netty.udp; |
| | | |
| | | import com.ard.alarm.tube.service.TubeAlarmService; |
| | | import com.ard.utils.spring.SpringUtils; |
| | | import com.ard.utils.util.SpringUtils; |
| | | import io.netty.buffer.ByteBuf; |
| | | import io.netty.buffer.Unpooled; |
| | | import io.netty.channel.ChannelHandlerContext; |
| | |
| | | |
| | | import java.nio.charset.Charset; |
| | | |
| | | @Slf4j(topic = "tube") |
| | | @Slf4j(topic = "netty") |
| | | public class NettyUdpHandler extends SimpleChannelInboundHandler<DatagramPacket> { |
| | | |
| | | @Override |