Modifier and Type | Field and Description |
---|---|
private IMessageHandler<? super REQ,? extends REPLY> |
messageHandler |
private Side |
side |
Constructor and Description |
---|
SimpleChannelHandlerWrapper(java.lang.Class<? extends IMessageHandler<? super REQ,? extends REPLY>> handler,
Side side,
java.lang.Class<REQ> requestType) |
SimpleChannelHandlerWrapper(IMessageHandler<? super REQ,? extends REPLY> handler,
Side side,
java.lang.Class<REQ> requestType) |
Modifier and Type | Method and Description |
---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
REQ msg) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause) |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
private final IMessageHandler<? super REQ extends IMessage,? extends REPLY extends IMessage> messageHandler
private final Side side
public SimpleChannelHandlerWrapper(java.lang.Class<? extends IMessageHandler<? super REQ,? extends REPLY>> handler, Side side, java.lang.Class<REQ> requestType)
public SimpleChannelHandlerWrapper(IMessageHandler<? super REQ,? extends REPLY> handler, Side side, java.lang.Class<REQ> requestType)
protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx, REQ msg) throws java.lang.Exception
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, java.lang.Throwable cause) throws java.lang.Exception
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
java.lang.Exception