@ChannelHandler.Sharable public class InPacketHandler extends io.netty.channel.SimpleChannelInboundHandler<PacketsMessage>
| Constructor and Description |
|---|
InPacketHandler(PacketListener packetListener,
PacketDecoder decoder,
NamespacesHub namespacesHub,
ExceptionListener exceptionListener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
PacketsMessage message) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable e) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredhandlerAdded, handlerRemoved, isSharablepublic InPacketHandler(PacketListener packetListener, PacketDecoder decoder, NamespacesHub namespacesHub, ExceptionListener exceptionListener)
protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
PacketsMessage message)
throws Exception
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<PacketsMessage>Exceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable e)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionCopyright © 2012–2016. All rights reserved.