@Override public ChannelPipeline getPipeline() throws Exception { final ChannelPipeline cp = Channels.pipeline(); cp.addLast(FRAME_DECODER, new FixedLengthFrameDecoder(8)); cp.addLast(HANDSHAKE, new Socks4HandshakeHandler(Socks4ClientBootstrap.super.getPipelineFactory())); return cp; } };
@Override public ChannelPipeline getPipeline() throws Exception { final ChannelPipeline cp = Channels.pipeline(); cp.addLast(FRAME_DECODER, new FixedLengthFrameDecoder(8)); cp.addLast(HANDSHAKE, new Socks4HandshakeHandler(Socks4ClientBootstrap.super.getPipelineFactory())); return cp; } };