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

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

Introduction

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

Usage

From source file com.growcontrol.common.netty.JsonObjectDecoder.java

/**
 * Splits a byte stream of JSON objects and arrays into individual objects/arrays and passes them up the
 * {@link ChannelPipeline}.
 *
 * This class does not do any real parsing or validation. A sequence of bytes is considered a JSON object/array
 * if it contains a matching number of opening and closing braces/brackets. It's up to a subsequent

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

/**
 * A {@link ByteToMessageDecoder} to decode a received {@link ByteBuf} to a {@link SimulatorMessage} or {@link Response}.
 *
 * If the destination address of a received {@link SimulatorMessage} is not for the {@link AddressLevel} of this Simulator
 * component, the {@link ByteBuf} is passed to the next handler.
 */

From source file com.heliosapm.streams.onramp.GZipDetector.java

/**
 * <p>Title: GZipDetector</p>
 * <p>Description: Detects GZip content and adds a decompressor if detected</p> 
 * <p>Company: Helios Development Group LLC</p>
 * @author Whitehead (nwhitehead AT heliosdev DOT org)
 * <p><code>com.heliosapm.streams.onramp.GZipDetector</code></p>

From source file com.heliosapm.tsdblite.handlers.ProtocolSwitch.java

/**
 * <p>Title: ProtocolSwitch</p>
 * <p>Description: Channel handler to sniff out the first few received bytes of a new connection and 
 * modify the pipeline to handle the discovered protocol accordingly. This is copied largely from the 
 * <a href="http://netty.io/5.0/xref/io/netty/example/portunification/PortUnificationServerHandler.html">PortUnification</a> example from Netty.</p> 
 * <p>Company: Helios Development Group LLC</p>

From source file com.hop.hhxx.example.factorial.BigIntegerDecoder.java

/**
 * Decodes the binary representation of a {@link BigInteger} prepended
 * with a magic number ('F' or 0x46) and a 32-bit integer length prefix into a
 * {@link BigInteger} instance.  For example, { 'F', 0, 0, 0, 1, 42 } will be
 * decoded into new BigInteger("42").
 */

From source file com.hop.hhxx.example.portunification.PortUnificationServerHandler.java

/**
 * Manipulates the current pipeline dynamically to switch protocols or enable
 * SSL or GZIP.
 */
public class PortUnificationServerHandler extends ByteToMessageDecoder {

From source file com.hxr.javatone.concurrency.netty.official.factorial.BigIntegerDecoder.java

/**
 * Decodes the binary representation of a {@link BigInteger} prepended
 * with a magic number ('F' or 0x46) and a 32-bit integer length prefix into a
 * {@link BigInteger} instance.  For example, { 'F', 0, 0, 0, 1, 42 } will be
 * decoded into new BigInteger("42").
 */

From source file com.hzmsc.scada.Jmtis.server.PortUnificationServerHandler.java

/**
 * Manipulates the current pipeline dynamically to switch protocols or enable
 * SSL or GZIP.
 */
public class PortUnificationServerHandler extends ByteToMessageDecoder {

From source file com.ibasco.agql.protocols.valve.source.query.handlers.SourceRconPacketDecoder.java

/**
 * <p>A Class that process incoming UDP datagrams and decodes each frame into {@link SourceRconResponsePacket}
 * instances</p>
 *
 * <p>
 * Rcon Packet Structure:

From source file com.ibm.crail.datanode.netty.rpc.RdmaDecoderRx.java

public class RdmaDecoderRx extends ByteToMessageDecoder {
    enum DecoderState {
        WAIT_FOR_HEADER, WAIT_FOR_PAYLOAD,
    }

    private RdmaMsgRx rxMsg;