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 com.look.netty.demo.socksproxy.DirectClientHandler.java

public final class DirectClientHandler extends ChannelInboundHandlerAdapter {

    private final Promise<Channel> promise;

    public DirectClientHandler(Promise<Channel> promise) {
        this.promise = promise;

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

public final class RelayHandler extends ChannelInboundHandlerAdapter {

    private final Channel relayChannel;

    public RelayHandler(Channel relayChannel) {
        this.relayChannel = relayChannel;

From source file com.ltln.modules.openflow.controller.manager.HandshakeTimeoutHandler.java

/**
 * Trigger a timeout if a switch fails to complete handshake soon enough
 */
public class HandshakeTimeoutHandler extends ChannelInboundHandlerAdapter {

    static final HandshakeTimeoutException EXCEPTION = new HandshakeTimeoutException();

From source file com.lyncc.netty.codec.protobuf.SubReqClientHandler.java

/**
 * @author lilinfeng
 * @date 2014214
 * @version 1.0
 */
public class SubReqClientHandler extends ChannelInboundHandlerAdapter {

From source file com.lyncc.netty.codec.protobuf.SubReqServerHandler.java

@Sharable
public class SubReqServerHandler extends ChannelInboundHandlerAdapter {

    @Override
    public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
        SubscribeReqProto.SubscribeReq req = (SubscribeReqProto.SubscribeReq) msg;

From source file com.mapple.http.HttpHelloWorldServerHandler.java

public class HttpHelloWorldServerHandler extends ChannelInboundHandlerAdapter {
    private static final AsciiString CONTENT_TYPE = new AsciiString("Content-Type");
    private static final AsciiString CONTENT_LENGTH = new AsciiString("Content-Length");
    //    private static final AsciiString CONNECTION = new AsciiString("Connection");
    //    private static final AsciiString KEEP_ALIVE = new AsciiString("keep-alive");

From source file com.mapple.socksproxy.DirectClientHandler.java

public final class DirectClientHandler extends ChannelInboundHandlerAdapter {

    private final Promise<Channel> promise;

    public DirectClientHandler(Promise<Channel> promise) {
        this.promise = promise;

From source file com.mapple.socksproxy.RelayHandler.java

public final class RelayHandler extends ChannelInboundHandlerAdapter {

    private final Channel relayChannel;

    public RelayHandler(Channel relayChannel) {
        this.relayChannel = relayChannel;

From source file com.mark.nt.nty2.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 ChannelInboundHandlerAdapter {

From source file com.mark.nt.nty2.echo.EchoServerHandler.java

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