public class NettyKdcUdpServerHandler
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.channel.socket.DatagramPacket>
| Constructor and Description |
|---|
NettyKdcUdpServerHandler(org.apache.kerby.kerberos.kerb.server.KdcContext kdcContext) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext,
io.netty.channel.socket.DatagramPacket datagramPacket) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
Calls
ChannelHandlerContext.fireExceptionCaught(Throwable) to
forward to the next {ChannelHandler} in the {ChannelPipeline}
Sub-classes may override this method to change behavior. |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic NettyKdcUdpServerHandler(org.apache.kerby.kerberos.kerb.server.KdcContext kdcContext)
protected void channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext,
io.netty.channel.socket.DatagramPacket datagramPacket)
throws Exception
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<io.netty.channel.socket.DatagramPacket>Exceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
ChannelHandlerContext.fireExceptionCaught(Throwable) to
forward to the next {ChannelHandler} in the {ChannelPipeline}
Sub-classes may override this method to change behavior.exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.