Example usage for io.netty.handler.codec.socksx SocksPortUnificationServerHandler SocksPortUnificationServerHandler

List of usage examples for io.netty.handler.codec.socksx SocksPortUnificationServerHandler SocksPortUnificationServerHandler

Introduction

In this page you can find the example usage for io.netty.handler.codec.socksx SocksPortUnificationServerHandler SocksPortUnificationServerHandler.

Prototype

public SocksPortUnificationServerHandler() 

Source Link

Document

Creates a new instance with the default configuration.

Usage

From source file:com.flysoloing.learning.network.netty.socksproxy.SocksServerInitializer.java

License:Apache License

@Override
public void initChannel(SocketChannel ch) throws Exception {
    ch.pipeline().addLast(new LoggingHandler(LogLevel.DEBUG), new SocksPortUnificationServerHandler(),
            SocksServerHandler.INSTANCE);
}

From source file:com.hop.hhxx.example.socksproxy.SocksServerInitializer.java

License:Apache License

@Override
public void initChannel(SocketChannel ch) throws Exception {
    ch.pipeline().addLast(new LoggingHandler(LogLevel.DEBUG), new SocksPortUnificationServerHandler(),
            io.netty.example.socksproxy.SocksServerHandler.INSTANCE);
}

From source file:com.mapple.socksproxy.SocksServerInitializer.java

License:Apache License

@Override
public void initChannel(SocketChannel ch) throws Exception {
    ch.pipeline().addLast(/*from   w  ww.j a va  2s  .c o m*/
            //                new LoggingHandler(LogLevel.DEBUG),
            new SocksPortUnificationServerHandler(), SocksServerHandlerEx.INSTANCE);
}