Example usage for io.netty.channel ChannelDuplexHandler subclass-usage

List of usage examples for io.netty.channel ChannelDuplexHandler subclass-usage

Introduction

In this page you can find the example usage for io.netty.channel ChannelDuplexHandler subclass-usage.

Usage

From source file com.sucy.minenight.nms.PacketHandler.java

/**
 * Handles the interception of packets, applying effects where necessary
 */
public class PacketHandler extends ChannelDuplexHandler {
    private Player p;

From source file com.superman.netty.http2.helloworld.multiplex.server.HelloWorldHttp2Handler.java

/**
 * A simple handler that responds with the message "Hello World!".
 *
 * <p>This example is making use of the "multiplexing" http2 API, where streams are mapped to child
 * Channels. This API is very experimental and incomplete.
 */

From source file com.superman.netty.memcache.binary.MemcacheClientHandler.java

public class MemcacheClientHandler extends ChannelDuplexHandler {

    /**
     * Transforms basic string requests to binary memcache requests
     */
    @Override

From source file com.superman.netty.redis.RedisClientHandler.java

/**
 * An example Redis client handler. This handler read input from STDIN and write output to STDOUT.
 */
public class RedisClientHandler extends ChannelDuplexHandler {

    @Override

From source file com.superman.netty.spdy.client.SpdyFrameLogger.java

/**
 * Logs SPDY frames for debugging purposes.
 */
public class SpdyFrameLogger extends ChannelDuplexHandler {

    private enum Direction {

From source file com.tesora.dve.db.mysql.MysqlCommandSenderHandler.java

public class MysqlCommandSenderHandler extends ChannelDuplexHandler {

    private static final Logger logger = Logger.getLogger(MysqlCommandSenderHandler.class);
    final String socketDesc;
    TimingService timingService = Singletons.require(TimingService.class, NoopTimingService.SERVICE);

From source file com.tesora.dve.db.mysql.portal.protocol.MSPProtocolDecoder.java

public class MSPProtocolDecoder extends ChannelDuplexHandler {

    private final static MSPMessage mspMessages[] = { MSPComQueryRequestMessage.PROTOTYPE,
            MSPComFieldListRequestMessage.PROTOTYPE, MSPComQuitRequestMessage.PROTOTYPE,
            MSPComSetOptionRequestMessage.PROTOTYPE, MSPComPingRequestMessage.PROTOTYPE,
            MSPComInitDBRequestMessage.PROTOTYPE, MSPComPrepareStmtRequestMessage.PROTOTYPE,

From source file com.tesora.dve.db.mysql.portal.protocol.MyBackendDecoder.java

public class MyBackendDecoder extends ChannelDuplexHandler {
    protected static final Logger logger = Logger.getLogger(MyBackendDecoder.class);
    protected static final ParseStrategy UNSOLICITED = new UnsolicitedMessageParser();

    CachedAppendBuffer bufferCache = new CachedAppendBuffer();
    Packet mspPacket;

From source file com.vela.iot.active.netty.http.RedisClientHandler.java

/**
 * An example Redis client handler. This handler read input from STDIN and write output to STDOUT.
 */
public class RedisClientHandler extends ChannelDuplexHandler {

    @Override

From source file com.vela.iot.active.netty.http2.server.LastInboundHandler.java

/**
 * Channel handler that allows to easily access inbound messages.
 */
public class LastInboundHandler extends ChannelDuplexHandler {
    private final List<Object> queue = new ArrayList<Object>();
    private Throwable lastException;