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 io.reactivex.netty.protocol.http.client.ClientRequestResponseConverter.java

/**
 * A channel handler for {@link HttpClient} to convert netty's http request/response objects to {@link HttpClient}'s
 * request/response objects. It handles the following message types:
 *
 * <h2>Reading Objects</h2>
 * <ul>

From source file io.reactivex.netty.protocol.http.server.ServerRequestResponseConverter.java

/**
 * A channel handler for {@link HttpServer} to convert netty's http request/response objects to {@link HttpServer}'s
 * request/response objects. It handles the following message types:
 *
 * <h2>Reading Objects</h2>
 * <ul>

From source file io.urmia.job.handler.JobIdleStateHandler.java

public class JobIdleStateHandler extends ChannelDuplexHandler {

    private static final Logger log = LoggerFactory.getLogger(JobIdleStateHandler.class);

    @Override
    public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception {

From source file io.vertx.core.net.impl.VertxHandler.java

/**
 * @author <a href="mailto:nmaurer@redhat.com">Norman Maurer</a>
 */
public abstract class VertxHandler<C extends ConnectionBase> extends ChannelDuplexHandler {

    protected abstract C getConnection();

From source file it.jnrpe.net.JNRPEIdleStateHandler.java

/**
 * Idle timeout handler.
 * 
 * @author Massimiliano Ziccardi
 * @version $Revision: 1.0 $
 */

From source file jp.llv.locapi.PacketHandler.java

/**
 * ProtocolListener. note: this is not implementation of
 * {@link net.md_5.bungee.api.plugin.Listener}
 *
 * @author toyblocks
 */

From source file me.calvinliu.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 me.calvinliu.netty.memcache.binary.MemcacheClientHandler.java

public class MemcacheClientHandler extends ChannelDuplexHandler {

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

From source file me.calvinliu.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 me.calvinliu.netty.spdy.client.SpdyFrameLogger.java

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

    private enum Direction {