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

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

Introduction

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

Usage

From source file com.gxkj.demo.netty.discard.DiscardClientHandler.java

/**
 * Handles a client-side channel.
 */
public class DiscardClientHandler extends SimpleChannelInboundHandler<Object> {

    private static final Logger logger = Logger.getLogger(DiscardClientHandler.class.getName());

From source file com.gxkj.demo.netty.discard.DiscardServerHandler.java

/**
 * Handles a server-side channel.
 */
public class DiscardServerHandler extends SimpleChannelInboundHandler<Object> {

    private static final Logger logger = Logger.getLogger(DiscardServerHandler.class.getName());

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

@ChannelHandler.Sharable
public final class SocksServerConnectHandler extends SimpleChannelInboundHandler<SocksCmdRequest> {
    private static final String name = "SOCKS_SERVER_CONNECT_HANDLER";

    public static String getName() {
        return name;

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

@ChannelHandler.Sharable
public final class SocksServerHandler extends SimpleChannelInboundHandler<SocksRequest> {
    private static final String name = "SOCKS_SERVER_HANDLER";

    public static String getName() {
        return name;

From source file com.gxkj.demo.netty.telnet.TelnetClientHandler.java

/**
 * Handles a client-side channel.
 */
@Sharable
public class TelnetClientHandler extends SimpleChannelInboundHandler<String> {

From source file com.gxkj.demo.netty.telnet.TelnetServerHandler.java

/**
 * Handles a server-side channel.
 */
@Sharable
public class TelnetServerHandler extends SimpleChannelInboundHandler<String> {

From source file com.gxkj.demo.netty.uptime.UptimeClientHandler.java

/**
 * Keep reconnecting to the server while printing out the current uptime and
 * connection attempt getStatus.
 */
@Sharable
public class UptimeClientHandler extends SimpleChannelInboundHandler<Object> {

From source file com.hazelcast.openshift.ProxyForwardHandler.java

class ProxyForwardHandler extends SimpleChannelInboundHandler<ByteBuf> {

    private final Channel forward;

    ProxyForwardHandler(Channel forward) {
        this.forward = forward;

From source file com.hazelcast.openshift.TunnelClientAcceptor.java

class TunnelClientAcceptor extends SimpleChannelInboundHandler<HttpRequest> {

    private final EventLoopGroup workerGroup;
    private final String forwardHost;
    private final int forwardPort;

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

public class ForwardToCoordinatorHandler extends SimpleChannelInboundHandler<ByteBuf> {

    private static final Logger LOGGER = Logger.getLogger(ForwardToCoordinatorHandler.class);

    private final SimulatorAddress localAddress;
    private final AddressLevel addressLevel;