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(ChannelHandlerContext ctx,
REQ msg) |
void |
exceptionCaught(ChannelHandlerContext ctx,
java.lang.Throwable cause) |
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(ChannelHandlerContext ctx, REQ msg) throws java.lang.Exception
java.lang.Exception
public void exceptionCaught(ChannelHandlerContext ctx, java.lang.Throwable cause) throws java.lang.Exception
java.lang.Exception