|
@@ -60,6 +60,7 @@ public class WatchServerHandler extends ChannelInboundHandlerAdapter {
|
|
|
public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
|
|
|
ByteBuf byteBuf = (ByteBuf)msg;
|
|
|
String str = byteBufferToString(byteBuf.nioBuffer());
|
|
|
+ logger.info("上传数据:", str);
|
|
|
try {
|
|
|
reply(ctx, str);
|
|
|
} catch (Exception e) {
|