Class DefaultDpnTracker
java.lang.Object
org.opendaylight.openflowplugin.applications.southboundcli.DefaultDpnTracker
- All Implemented Interfaces:
AutoCloseable
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>
,DpnTracker
@Singleton
public final class DefaultDpnTracker
extends Object
implements DpnTracker, org.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>, AutoCloseable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
onDataTreeChanged
(List<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNode>> changes) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener
onInitialData
-
Field Details
-
DEFAULT_DPN_NAME
- See Also:
-
SEPARATOR
- See Also:
-
-
Constructor Details
-
DefaultDpnTracker
@Inject public DefaultDpnTracker(org.opendaylight.mdsal.binding.api.DataBroker dataBroker)
-
-
Method Details
-
close
@PreDestroy public void close()- Specified by:
close
in interfaceAutoCloseable
-
currentNodes
- Specified by:
currentNodes
in interfaceDpnTracker
-
onDataTreeChanged
public void onDataTreeChanged(List<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNode>> changes) - Specified by:
onDataTreeChanged
in interfaceorg.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>
-