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 io.grpc.alts.internal.TsiHandshakeHandler.java

/**
 * Performs The TSI Handshake.
 */
public final class TsiHandshakeHandler extends ByteToMessageDecoder {
    /**
     * Validates a Tsi Peer object.

From source file io.moquette.parser.netty.MQTTDecoder.java

/**
 *
 * @author andrea
 */
public class MQTTDecoder extends ByteToMessageDecoder {

From source file io.mycat.netty.mysql.MySQLProtocolDecoder.java

/**
 * @author <a href="mailto:jorgie.mail@gmail.com">jorgie li</a>
 *
 */
public class MySQLProtocolDecoder extends ByteToMessageDecoder {
    private static final Logger logger = LoggerFactory.getLogger(MySQLProtocolDecoder.class);

From source file io.nebo.thrift.DefaultThriftFrameDecoder.java

public class DefaultThriftFrameDecoder extends ByteToMessageDecoder {
    private final static Logger logger = Logger.getLogger(DefaultThriftFrameDecoder.class);
    public static final int MESSAGE_FRAME_SIZE = 4;
    private final TProtocolFactory inputProtocolFactory;
    private final int maxFrameSize = 64 * 1024 * 1024;

From source file io.netlibs.bgp.handlers.BGPv4Reframer.java

/**
 * Reads frames from the input, ensuring they are aligned to the boundary.
 */

@Slf4j
public class BGPv4Reframer extends ByteToMessageDecoder {

From source file io.netty.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 io.netty.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 io.pravega.shared.protocol.netty.CommandDecoder.java

/**
 * Decodes commands coming over the wire. For the most part this is just delegation to the
 * deserializers in WireCommands.
 */
@Slf4j
@ToString

From source file io.reactivex.netty.protocol.http.sse.ServerSentEventDecoder.java

/**
 * A decoder to decode <a href="http://www.w3.org/TR/eventsource/">Server sent events</a> into {@link ServerSentEvent}
 */
public class ServerSentEventDecoder extends ByteToMessageDecoder {

    private static final Logger logger = LoggerFactory.getLogger(ServerSentEventDecoder.class);

From source file jazmin.server.msg.codec.json.JSONDecoder.java

/**
 * 
 */
public class JSONDecoder extends ByteToMessageDecoder {
    private static Logger logger = LoggerFactory.get(JSONDecoder.class);