@ChannelHandler.Sharable
public class NettyTCPServerHandler
extends io.netty.channel.SimpleChannelInboundHandler<byte[]>
| Constructor and Description |
|---|
NettyTCPServerHandler(NettySource nettySource) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext,
byte[] bytes) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic NettyTCPServerHandler(NettySource nettySource)
protected void channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext,
byte[] bytes)
throws Exception
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<byte[]>Exceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2017–2021 Apache Software Foundation. All rights reserved.