public class MessageReceiveHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
构造器和说明 |
---|
MessageReceiveHandler(java.util.Map<java.lang.String,java.lang.Object> handlerMap) |
限定符和类型 | 方法和说明 |
---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object msg) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause) |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public MessageReceiveHandler(java.util.Map<java.lang.String,java.lang.Object> handlerMap)
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, java.lang.Object msg) throws java.lang.Exception
channelRead
在接口中 io.netty.channel.ChannelInboundHandler
channelRead
在类中 io.netty.channel.ChannelInboundHandlerAdapter
java.lang.Exception
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, java.lang.Throwable cause)
exceptionCaught
在接口中 io.netty.channel.ChannelHandler
exceptionCaught
在接口中 io.netty.channel.ChannelInboundHandler
exceptionCaught
在类中 io.netty.channel.ChannelInboundHandlerAdapter