Package org.opendaylight.graph.impl
Class GraphListener
- java.lang.Object
-
- org.opendaylight.graph.impl.GraphListener
-
- All Implemented Interfaces:
EventListener
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<Graph>
public class GraphListener extends Object implements org.opendaylight.mdsal.binding.api.DataTreeChangeListener<Graph>
This Class Implements the DataStoreService interface providing the methods required to manage the network representation elements in the Data Store.- Author:
- Olivier Dugeon, Philippe Niger
-
-
Constructor Summary
Constructors Constructor Description GraphListener(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, ConnectedGraphProvider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Close this Listener.void
init()
Initialization of the Graph Topology Listener.void
onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<Graph>> changes)
-
-
-
Constructor Detail
-
GraphListener
public GraphListener(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, ConnectedGraphProvider provider)
-
-
Method Detail
-
init
public void init()
Initialization of the Graph Topology Listener. This method is called through the blueprint.
-
close
public void close()
Close this Listener.
-
onDataTreeChanged
public void onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<Graph>> changes)
- Specified by:
onDataTreeChanged
in interfaceorg.opendaylight.mdsal.binding.api.DataTreeChangeListener<Graph>
-
-