Class HwVtepTunnelsStateHandler
- java.lang.Object
-
- org.opendaylight.serviceutils.tools.listener.AbstractSyncDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels>
-
- org.opendaylight.genius.alivenessmonitor.internal.HwVtepTunnelsStateHandler
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,AlivenessProtocolHandler<org.opendaylight.openflowplugin.libraries.liblldp.Packet>
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels>
,org.opendaylight.serviceutils.tools.listener.ChainableDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels>
@Singleton public class HwVtepTunnelsStateHandler extends org.opendaylight.serviceutils.tools.listener.AbstractSyncDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels> implements AlivenessProtocolHandler<org.opendaylight.openflowplugin.libraries.liblldp.Packet>
-
-
Constructor Summary
Constructors Constructor Description HwVtepTunnelsStateHandler(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, AlivenessMonitor alivenessMonitor, AlivenessProtocolHandlerRegistry alivenessProtocolHandlerRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Default Methods Deprecated Methods Modifier and Type Method Description void
add(@NonNull org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels> instanceIdentifier, @NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels tunnelInfo)
void
add(T arg0)
Deprecated.void
addAfterListener(org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T> arg0)
void
addBeforeListener(org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T> arg0)
void
close()
protected org.opendaylight.mdsal.binding.api.DataBroker
getDataBroker()
protected org.opendaylight.serviceutils.tools.listener.DataStoreMetrics
getDataStoreMetrics()
java.lang.Class<org.opendaylight.openflowplugin.libraries.liblldp.Packet>
getPacketClass()
java.lang.String
getUniqueMonitoringKey(MonitoringInfo monitorInfo)
java.lang.String
handlePacketIn(org.opendaylight.openflowplugin.libraries.liblldp.Packet protocolPacket, org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketReceived packetReceived)
default void
onDataTreeChanged(java.util.Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<T>> arg0, org.opendaylight.serviceutils.tools.listener.DataStoreMetrics arg1)
void
register()
void
remove(@NonNull org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels> instanceIdentifier, @NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels tunnelInfo)
void
remove(T arg0)
Deprecated.void
startMonitoringTask(MonitoringInfo monitorInfo)
void
update(@NonNull org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels> instanceIdentifier, @NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels oldTunnelInfo, @NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels updatedTunnelInfo)
void
update(T arg0, T arg1)
Deprecated.-
Methods inherited from class org.opendaylight.serviceutils.tools.listener.AbstractSyncDataTreeChangeListener
onDataTreeChanged
-
-
-
-
Constructor Detail
-
HwVtepTunnelsStateHandler
@Inject public HwVtepTunnelsStateHandler(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, AlivenessMonitor alivenessMonitor, AlivenessProtocolHandlerRegistry alivenessProtocolHandlerRegistry)
-
-
Method Detail
-
remove
public void remove(@NonNull org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels> instanceIdentifier, @NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels tunnelInfo)
-
update
public void update(@NonNull org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels> instanceIdentifier, @NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels oldTunnelInfo, @NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels updatedTunnelInfo)
-
add
public void add(@NonNull org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels> instanceIdentifier, @NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.Tunnels tunnelInfo)
-
getPacketClass
public java.lang.Class<org.opendaylight.openflowplugin.libraries.liblldp.Packet> getPacketClass()
- Specified by:
getPacketClass
in interfaceAlivenessProtocolHandler<org.opendaylight.openflowplugin.libraries.liblldp.Packet>
-
handlePacketIn
public java.lang.String handlePacketIn(org.opendaylight.openflowplugin.libraries.liblldp.Packet protocolPacket, org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketReceived packetReceived)
- Specified by:
handlePacketIn
in interfaceAlivenessProtocolHandler<org.opendaylight.openflowplugin.libraries.liblldp.Packet>
-
startMonitoringTask
public void startMonitoringTask(MonitoringInfo monitorInfo)
- Specified by:
startMonitoringTask
in interfaceAlivenessProtocolHandler<org.opendaylight.openflowplugin.libraries.liblldp.Packet>
-
getUniqueMonitoringKey
public java.lang.String getUniqueMonitoringKey(MonitoringInfo monitorInfo)
- Specified by:
getUniqueMonitoringKey
in interfaceAlivenessProtocolHandler<org.opendaylight.openflowplugin.libraries.liblldp.Packet>
-
addBeforeListener
public void addBeforeListener(org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T> arg0)
- Specified by:
addBeforeListener
in interfaceorg.opendaylight.serviceutils.tools.listener.ChainableDataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>
-
addAfterListener
public void addAfterListener(org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T> arg0)
- Specified by:
addAfterListener
in interfaceorg.opendaylight.serviceutils.tools.listener.ChainableDataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>
-
register
@PostConstruct public void register()
-
getDataBroker
protected org.opendaylight.mdsal.binding.api.DataBroker getDataBroker()
-
getDataStoreMetrics
protected org.opendaylight.serviceutils.tools.listener.DataStoreMetrics getDataStoreMetrics()
-
close
@PreDestroy public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
add
@Deprecated public void add(T arg0)
Deprecated.
-
remove
@Deprecated public void remove(T arg0)
Deprecated.
-
update
@Deprecated public void update(T arg0, T arg1)
Deprecated.
-
onDataTreeChanged
public default void onDataTreeChanged(java.util.Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<T>> arg0, org.opendaylight.serviceutils.tools.listener.DataStoreMetrics arg1)
-
-