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

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

Introduction

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

Usage

From source file brave.netty.http.TestHttpHandler.java

class TestHttpHandler extends ChannelInboundHandlerAdapter {

    private FullHttpRequest httpRequest;
    private HttpTracing httpTracing;

    public TestHttpHandler(HttpTracing httpTracing) {

From source file cat.tbq.hospital.nio.echoExample.EchoClient2Handler.java

/**
 * Handler implementation for the echo client.  It initiates the ping-pong
 * traffic between the echo client and server by sending the first message to
 * the server.
 */
public class EchoClient2Handler extends ChannelInboundHandlerAdapter {

From source file cat.tbq.hospital.nio.echoExample.EchoClientHandler.java

/**
 * Handler implementation for the echo client.  It initiates the ping-pong
 * traffic between the echo client and server by sending the first message to
 * the server.
 */
public class EchoClientHandler extends ChannelInboundHandlerAdapter {

From source file cat.tbq.hospital.nio.echoExample.EchoServerHandler.java

/**
 * Handler implementation for the echo server.
 */
@Sharable
public class EchoServerHandler extends ChannelInboundHandlerAdapter {

From source file cc.agentx.client.net.nio.XPingHandler.java

public final class XPingHandler extends ChannelInboundHandlerAdapter {
    private static final InternalLogger log;

    static {
        log = InternalLoggerFactory.getInstance(XPingHandler.class);
    }

From source file cc.agentx.client.net.nio.XRelayHandler.java

public final class XRelayHandler extends ChannelInboundHandlerAdapter {
    private static final InternalLogger log;

    static {
        log = InternalLoggerFactory.getInstance(XRelayHandler.class);
    }

From source file cc.agentx.server.net.nio.XConnectHandler.java

@ChannelHandler.Sharable
public final class XConnectHandler extends ChannelInboundHandlerAdapter {
    private static final InternalLogger log = InternalLoggerFactory.getInstance(XConnectHandler.class);

    private final Bootstrap bootstrap = new Bootstrap();
    private final ByteArrayOutputStream tailDataBuffer;

From source file cc.agentx.server.net.nio.XPingHandler.java

public final class XPingHandler extends ChannelInboundHandlerAdapter {
    private static final InternalLogger log = InternalLoggerFactory.getInstance(XPingHandler.class);

    private final Promise<Channel> promise;
    private final long initializeTimeMillis;

From source file cc.agentx.server.net.nio.XRelayHandler.java

public final class XRelayHandler extends ChannelInboundHandlerAdapter {
    private static final InternalLogger log = InternalLoggerFactory.getInstance(XRelayHandler.class);

    private final Channel dstChannel;
    private final Wrapper wrapper;
    private final boolean uplink;

From source file ch.ethz.globis.distindex.middleware.net.MiddlewareChannelHandler.java

/**
 * Handles the incoming data on the channel opened by a client.
 *
 * @param <K>
 * @param <V>
 */