protected abstract class NettyTcpTransport.NettyDefaultHandler<E>
extends io.netty.channel.SimpleChannelInboundHandler<E>
| Modifier | Constructor and Description |
|---|---|
protected |
NettyDefaultHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext context) |
void |
channelInactive(io.netty.channel.ChannelHandlerContext context) |
void |
channelRegistered(io.netty.channel.ChannelHandlerContext context) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext context,
Throwable cause) |
acceptInboundMessage, channelRead, channelRead0channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic void channelRegistered(io.netty.channel.ChannelHandlerContext context)
throws Exception
channelRegistered in interface io.netty.channel.ChannelInboundHandlerchannelRegistered in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelActive(io.netty.channel.ChannelHandlerContext context)
throws Exception
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelInactive(io.netty.channel.ChannelHandlerContext context)
throws Exception
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext context,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionCopyright © 2013–2019 The Apache Software Foundation. All rights reserved.