Class NodeListener
java.lang.Object
org.opendaylight.openflowplugin.applications.southboundcli.NodeListener
- All Implemented Interfaces:
AutoCloseable
,EventListener
,org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<FlowCapableNode>
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>
public class NodeListener
extends Object
implements org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<FlowCapableNode>, AutoCloseable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
onDataTreeChanged
(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNode>> changes) void
start()
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
-
NodeListener
public NodeListener(org.opendaylight.mdsal.binding.api.DataBroker broker)
-
-
Method Details
-
start
public void start() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
onDataTreeChanged
public void onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNode>> changes) - Specified by:
onDataTreeChanged
in interfaceorg.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>
-
getDpnIdToNameCache
-