Class Ipv6PktHandler
- java.lang.Object
-
- org.opendaylight.netvirt.ipv6service.Ipv6PktHandler
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingListener
,org.opendaylight.yangtools.yang.binding.NotificationListener
@Singleton public class Ipv6PktHandler extends java.lang.Object implements java.lang.AutoCloseable, org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingListener
-
-
Constructor Summary
Constructors Constructor Description Ipv6PktHandler(org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingService pktService, IfMgr ifMgr, IIpv6PacketListener ipv6PktListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
long
getPacketProcessedCounter()
void
onPacketReceived(org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketReceived packetReceived)
-
-
-
Constructor Detail
-
Ipv6PktHandler
@Inject public Ipv6PktHandler(org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingService pktService, IfMgr ifMgr, IIpv6PacketListener ipv6PktListener)
-
-
Method Detail
-
onPacketReceived
public void onPacketReceived(org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketReceived packetReceived)
- Specified by:
onPacketReceived
in interfaceorg.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingListener
-
getPacketProcessedCounter
public long getPacketProcessedCounter()
-
close
@PreDestroy public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-