use of com.navercorp.pinpoint.rpc.codec.ServerPacketDecoder in project pinpoint by naver.
the class ServerPipelineFactory method getPipeline.
@Override
public ChannelPipeline getPipeline() throws Exception {
ChannelPipeline pipeline = Channels.pipeline();
// ServerPacketDecoder passes the PING related packets(without status value) to the pinpointServerChannelHandler.
pipeline.addLast("decoder", new ServerPacketDecoder());
pipeline.addLast("encoder", new PacketEncoder());
pipeline.addLast("handler", pinpointServerChannelHandler);
return pipeline;
}
use of com.navercorp.pinpoint.rpc.codec.ServerPacketDecoder in project pinpoint by naver.
the class ServerCodecPipelineFactory method newPipeline.
@Override
public ChannelPipeline newPipeline() {
ChannelPipeline pipeline = Channels.pipeline();
pipeline.addLast("decoder", new ServerPacketDecoder());
pipeline.addLast("encoder", new PacketEncoder());
return pipeline;
}
Aggregations