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

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

Introduction

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

Usage

From source file com.gk.frame.fault.TimeServerHandler.java

/**
 * @author lilinfeng
 * @date 2014214
 * @version 1.0
 */
public class TimeServerHandler extends ChannelHandlerAdapter {

From source file com.gk.frame.fixedLen.EchoServerHandler.java

/**
 * @author lilinfeng
 * @date 2014214
 * @version 1.0
 */
@Sharable

From source file com.gxkj.demo.netty.echo.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 ChannelHandlerAdapter {

From source file com.gxkj.demo.netty.echo.EchoServerHandler.java

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

From source file com.gxkj.demo.netty.proxy.HexDumpProxyBackendHandler.java

public class HexDumpProxyBackendHandler extends ChannelHandlerAdapter {

    private final Channel inboundChannel;

    public HexDumpProxyBackendHandler(Channel inboundChannel) {
        this.inboundChannel = inboundChannel;

From source file com.gxkj.demo.netty.proxy.HexDumpProxyFrontendHandler.java

public class HexDumpProxyFrontendHandler extends ChannelHandlerAdapter {

    private final String remoteHost;
    private final int remotePort;

    private volatile Channel outboundChannel;

From source file com.gxkj.demo.netty.socksproxy.DirectClientHandler.java

public final class DirectClientHandler extends ChannelHandlerAdapter {
    private static final String name = "DIRECT_CLIENT_HANDLER";

    public static String getName() {
        return name;
    }

From source file com.gxkj.demo.netty.socksproxy.RelayHandler.java

public final class RelayHandler extends ChannelHandlerAdapter {
    private static final String name = "RELAY_HANDLER";

    public static String getName() {
        return name;
    }

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

/**
 * Handles uncaught exceptions in the channel pipeline.
 */
@ChannelHandler.Sharable
public class ExceptionHandler extends ChannelHandlerAdapter {

From source file com.heelenyc.im.client.handler.ClientHeartBeatReqHandler.java

public class ClientHeartBeatReqHandler extends ChannelHandlerAdapter {

    private Log logger = LogFactory.getLog(this.getClass());

    private volatile ScheduledFuture<?> heartBeat;