Example usage for io.netty.handler.codec LengthFieldBasedFrameDecoder subclass-usage

List of usage examples for io.netty.handler.codec LengthFieldBasedFrameDecoder subclass-usage

Introduction

In this page you can find the example usage for io.netty.handler.codec LengthFieldBasedFrameDecoder subclass-usage.

Usage

From source file com.ebay.jetstream.messaging.transport.netty.compression.MessageDecompressionHandler.java

public class MessageDecompressionHandler extends LengthFieldBasedFrameDecoder implements XSerializable {

    byte[] m_tmpBuf;
    boolean m_allocBuf = false;
    int m_tmpBufSz = 250000;

From source file com.ebay.jetstream.messaging.transport.netty.serializer.StreamMessageDecoder.java

public class StreamMessageDecoder extends LengthFieldBasedFrameDecoder {
    static final byte KRYO_STREAM_VERSION = (byte) 0x00;
    static final byte JAVA_STREAM_VERSION = (byte) ObjectStreamConstants.STREAM_VERSION; // Java is 0x5

    // Copied from Netty code due to it is package visible
    private static class CompactObjectInputStream extends ObjectInputStream {

From source file com.frank.netty.protocol.netty.codec.NettyMessageDecoder.java

/**
 * @author WangBiao
 * @date 20161215
 * @version 1.0
 */
public class NettyMessageDecoder extends LengthFieldBasedFrameDecoder {

From source file com.hazelcast.simulator.protocol.handler.SimulatorFrameDecoder.java

/**
 * Splits the received {@link io.netty.buffer.ByteBuf}s dynamically by the value of the length field in the message.
 */
public class SimulatorFrameDecoder extends LengthFieldBasedFrameDecoder {

    private static final int MAX_FRAME_SIZE = Integer.MAX_VALUE;

From source file com.heelenyc.research.netty.protocol.netty.codec.NettyMessageDecoder.java

/**
 * @author Lilinfeng
 * @date 2014315
 * @version 1.0
 */
public class NettyMessageDecoder extends LengthFieldBasedFrameDecoder {

From source file com.hxr.javatone.nettyguide.d12.codec.NettyMessageDecoder.java

/**
 * @author Lilinfeng
 * @date 2014315
 * @version 1.0
 */
public class NettyMessageDecoder extends LengthFieldBasedFrameDecoder {

From source file com.ict.dtube.remoting.netty.NettyDecoder.java

/**
 * ???
 * 
 * @author shijia.wxr<vintage.wang@gmail.com>
 * @since 2013-7-13
 */

From source file com.irh.material.basics.netty.chapter14_1.codec.NettyMessageDecoder.java

/**
 * Created by iritchie on 17-3-10.
 */
public class NettyMessageDecoder extends LengthFieldBasedFrameDecoder {

    MarshallingDecoder marshallingDecoder;

From source file com.jjzhk.Chapter14.netty.NettyMessageDecoder.java

/**
 * @author Lilinfeng
 * @date 20143?15?
 * @version 1.0
 */
public class NettyMessageDecoder extends LengthFieldBasedFrameDecoder {

From source file com.lampard.netty4.protocol.netty.codec.NettyMessageDecoder.java

/**
 * @author Lilinfeng
 * @date 2014315
 * @version 1.0
 */
public class NettyMessageDecoder extends LengthFieldBasedFrameDecoder {