public class HexDumpProxyInitializer extends ChannelInitializer<SocketChannel>
ChannelHandler.Sharable
Constructor and Description |
---|
HexDumpProxyInitializer(String remoteHost,
int remotePort) |
Modifier and Type | Method and Description |
---|---|
void |
initChannel(SocketChannel ch)
This method will be called once the
Channel was registered. |
channelRegistered, exceptionCaught
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
handlerAdded, handlerRemoved, isSharable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handlerAdded, handlerRemoved
public HexDumpProxyInitializer(String remoteHost, int remotePort)
public void initChannel(SocketChannel ch)
ChannelInitializer
Channel
was registered. After the method returns this instance
will be removed from the ChannelPipeline
of the Channel
.initChannel
in class ChannelInitializer<SocketChannel>
ch
- the Channel
which was registered.Copyright © 2008–2016 The Netty Project. All rights reserved.