List of usage examples for io.netty.handler.codec LengthFieldBasedFrameDecoder subclass-usage
From source file Netty4.MQSource.NettyTest.NettyTest.NettyDecoder.java
/** * @author LUCKY * */ public class NettyDecoder extends LengthFieldBasedFrameDecoder { private static final Logger log = LoggerFactory.getLogger(RemotingUtil.RemotingLogName);
From source file org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQAMQPFrameDecoder.java
/** * A Netty decoder specially optimised to to decode messages on the core protocol only */ public class ActiveMQAMQPFrameDecoder extends LengthFieldBasedFrameDecoder { public ActiveMQAMQPFrameDecoder() { // The interface itself is part of the buffer (hence the -4)
From source file org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQFrameDecoder2.java
/** * A Netty decoder specially optimised to to decode messages on the core protocol only */ public class ActiveMQFrameDecoder2 extends LengthFieldBasedFrameDecoder { public ActiveMQFrameDecoder2() { super(Integer.MAX_VALUE, 0, DataConstants.SIZE_INT);
From source file org.apache.activemq.core.remoting.impl.netty.ActiveMQAMQPFrameDecoder.java
/**
* A Netty decoder specially optimised to to decode messages on the core protocol only
*
* @author <a href="tlee@redhat.com">Trustin Lee</a>
* @author <a href="nmaurer@redhat.com">Norman Maurer</a>
* @version $Revision: 7839 $, $Date: 2009-08-21 02:26:39 +0900 (2009-08-21, ) $
From source file org.apache.activemq.core.remoting.impl.netty.ActiveMQFrameDecoder2.java
/**
* A Netty decoder specially optimised to to decode messages on the core protocol only
*
* @author <a href="tlee@redhat.com">Trustin Lee</a>
* @author <a href="nmaurer@redhat.com">Norman Maurer</a>
* @version $Revision: 7839 $, $Date: 2009-08-21 02:26:39 +0900 (2009-08-21, ) $
From source file org.apache.jackrabbit.oak.plugins.segment.standby.codec.RecordIdDecoder.java
public class RecordIdDecoder extends LengthFieldBasedFrameDecoder { private static final Logger log = LoggerFactory.getLogger(RecordIdDecoder.class); private final SegmentStore store;
From source file org.apache.jackrabbit.oak.plugins.segment.standby.codec.SegmentDecoder.java
@Deprecated public class SegmentDecoder extends LengthFieldBasedFrameDecoder { private static final Logger log = LoggerFactory.getLogger(SegmentDecoder.class); /**
From source file org.apache.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 org.apache.rocketmq.remoting.netty.NettyDecoder.java
public class NettyDecoder extends LengthFieldBasedFrameDecoder { private static final Logger log = LoggerFactory.getLogger(RemotingHelper.ROCKETMQ_REMOTING); private static final int FRAME_MAX_LENGTH = // Integer.parseInt(System.getProperty("com.rocketmq.remoting.frameMaxLength", "16777216")); public NettyDecoder() {
From source file org.codec.NettyMessageDecoder.java
/** * @author Lilinfeng * @date 2014315 * @version 1.0 */ public class NettyMessageDecoder extends LengthFieldBasedFrameDecoder {