List of usage examples for io.netty.handler.codec LengthFieldBasedFrameDecoder subclass-usage
From source file com.uber.tchannel.codecs.TChannelLengthFieldBasedFrameDecoder.java
public final class TChannelLengthFieldBasedFrameDecoder extends LengthFieldBasedFrameDecoder { public TChannelLengthFieldBasedFrameDecoder() { super(TFrame.MAX_FRAME_LENGTH, TFrame.LENGTH_FIELD_OFFSET, TFrame.LENGTH_FIELD_LENGTH, TFrame.LENGTH_ADJUSTMENT, TFrame.INITIAL_BYTES_TO_STRIP, TFrame.FAIL_FAST); } }
From source file com.vip.netty.protocol.netty.codec.NettyMessageDecoder.java
/** * @author Lilinfeng * @version 1.0 * @date 2014315 */ public class NettyMessageDecoder extends LengthFieldBasedFrameDecoder {
From source file com.wii.netty.protocol.netty.codec.NettyMessageDecoder.java
/** * @author wishell * @date 2014315 * @version 1.0 */ public class NettyMessageDecoder extends LengthFieldBasedFrameDecoder {
From source file com.wolfbe.configcenter.remoting.netty.NettyDecoder.java
/** * @author shijia.wxr * */ public class NettyDecoder extends LengthFieldBasedFrameDecoder { private static final Logger log = LoggerFactory.getLogger(RemotingHelper.RemotingLogName);
From source file com.yahoo.pulsar.common.api.PulsarLengthFieldFrameDecoder.java
/** * Decode the incoming msg without copying the buffer */ public class PulsarLengthFieldFrameDecoder extends LengthFieldBasedFrameDecoder { public PulsarLengthFieldFrameDecoder(int maxFrameLength, int lengthFieldOffset, int lengthFieldLength, int lengthAdjustment, int initialBytesToStrip) {
From source file com.yea.remote.netty.codec.NettyMessageDecoder.java
/** * ???FST * @author yiyongfei * */ public class NettyMessageDecoder extends LengthFieldBasedFrameDecoder implements NettyChannelHandler {
From source file com.zaradai.distributor.messaging.netty.handler.MessageDecoder.java
public class MessageDecoder extends LengthFieldBasedFrameDecoder { private static final int MAX_MESSAGE_SIZE = 1024 * 1024; private static final int LENGTH_SIZE = 4; private final Serializer serializer; @Inject
From source file com.zhaopeng.timeserver.protocol.netty.codec.NettyMessageDecoder.java
/** * Created by zhaopeng on 2016/10/19. */ public class NettyMessageDecoder extends LengthFieldBasedFrameDecoder { MarshallingDecoder marshallingDecoder;
From source file com.zz.learning.netty5.chap12.codec.NettyMessageDecoder.java
/** * @author Lilinfeng * @date 2014315 * @version 1.0 */ public class NettyMessageDecoder extends LengthFieldBasedFrameDecoder {
From source file faststore.net.netty.common.faststoreprotocol.handler.NettyDecoder.java
/** * @author shijia.wxr<vintage.wang@gmail.com> * @since 2013-7-13 */ public class NettyDecoder extends LengthFieldBasedFrameDecoder { private static final Logger log = LoggerFactory.getLogger(RemotingHelper.RemotingLogName);