List of usage examples for io.netty.handler.codec.socksx SocksPortUnificationServerHandler SocksPortUnificationServerHandler
public SocksPortUnificationServerHandler()
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); }