同上追加
This commit is contained in:
parent
330c6b377d
commit
f8ccbef2b1
|
|
@ -1,12 +1,13 @@
|
|||
package com.ai.cloud.skywalking.reciever.handler;
|
||||
|
||||
import com.ai.cloud.skywalking.reciever.buffer.DataBufferThreadContainer;
|
||||
import com.ai.cloud.skywalking.reciever.util.ByteArrayUtil;
|
||||
import io.netty.channel.ChannelHandlerContext;
|
||||
import io.netty.channel.SimpleChannelInboundHandler;
|
||||
|
||||
public class CollectionServerDataHandler extends SimpleChannelInboundHandler {
|
||||
public class CollectionServerDataHandler extends SimpleChannelInboundHandler<byte[]> {
|
||||
@Override
|
||||
protected void channelRead0(ChannelHandlerContext ctx, Object msg) throws Exception {
|
||||
DataBufferThreadContainer.getDataBufferThread().doCarry(msg.toString().getBytes());
|
||||
protected void channelRead0(ChannelHandlerContext ctx, byte[] msg) throws Exception {
|
||||
DataBufferThreadContainer.getDataBufferThread().doCarry(msg);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue