@ChannelHandler.Sharable public class LispSouthboundHandler extends io.netty.channel.SimpleChannelInboundHandler<io.netty.channel.socket.DatagramPacket> implements ILispSouthboundService, AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
LispSouthboundHandler(LispSouthboundPlugin lispSbPlugin) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.socket.DatagramPacket msg) |
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
void |
close() |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
handlePacket(io.netty.channel.socket.DatagramPacket msg) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic LispSouthboundHandler(LispSouthboundPlugin lispSbPlugin)
public void handlePacket(io.netty.channel.socket.DatagramPacket msg)
handlePacket in interface ILispSouthboundServiceprotected void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.socket.DatagramPacket msg)
throws Exception
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<io.netty.channel.socket.DatagramPacket>Exceptionpublic void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelReadComplete in interface io.netty.channel.ChannelInboundHandlerchannelReadComplete in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2019 OpenDaylight. All rights reserved.