public class HexDumpProxyInboundHandler extends SimpleChannelUpstreamHandler
ChannelHandler.Sharable
构造器和说明 |
---|
HexDumpProxyInboundHandler(ClientSocketChannelFactory cf) |
限定符和类型 | 方法和说明 |
---|---|
void |
channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel was closed and all its related resources
were released. |
void |
channelInterestChanged(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel 's interestOps
was changed. |
void |
channelOpen(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel is open, but not bound nor connected. |
void |
exceptionCaught(ChannelHandlerContext ctx,
ExceptionEvent e)
Invoked when an exception was raised by an I/O thread or a
ChannelHandler . |
void |
messageReceived(ChannelHandlerContext ctx,
MessageEvent e)
Invoked when a message object (e.g:
ChannelBuffer ) was received
from a remote peer. |
channelBound, channelConnected, channelDisconnected, channelUnbound, childChannelClosed, childChannelOpen, handleUpstream, writeComplete
public HexDumpProxyInboundHandler(ClientSocketChannelFactory cf)
public void channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e)
SimpleChannelUpstreamHandler
Channel
is open, but not bound nor connected.
public void messageReceived(ChannelHandlerContext ctx, MessageEvent e)
SimpleChannelUpstreamHandler
ChannelBuffer
) was received
from a remote peer.public void channelInterestChanged(ChannelHandlerContext ctx, ChannelStateEvent e)
SimpleChannelUpstreamHandler
Channel
's interestOps
was changed.public void channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)
SimpleChannelUpstreamHandler
Channel
was closed and all its related resources
were released.public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e)
SimpleChannelUpstreamHandler
ChannelHandler
.