Class SampleFlowCapableNodeListener
java.lang.Object
org.opendaylight.openflowplugin.samples.sample.bundles.SampleFlowCapableNodeListener
- All Implemented Interfaces:
AutoCloseable
,EventListener
,org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<FlowCapableNode>
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>
public class SampleFlowCapableNodeListener
extends Object
implements org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<FlowCapableNode>, AutoCloseable
Sample DataTreeChangeListener.
-
Constructor Summary
ConstructorDescriptionSampleFlowCapableNodeListener
(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, SalBundleService bundleService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
init()
void
onDataTreeChanged
(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNode>> modifications) 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
-
Constructor Details
-
SampleFlowCapableNodeListener
public SampleFlowCapableNodeListener(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, SalBundleService bundleService)
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
init
public void init() -
onDataTreeChanged
public void onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNode>> modifications) - Specified by:
onDataTreeChanged
in interfaceorg.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>
-