Class GraphListener

java.lang.Object
org.opendaylight.graph.impl.GraphListener
All Implemented Interfaces:
AutoCloseable, org.opendaylight.mdsal.binding.api.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.graph.rev220720.graph.topology.Graph>

@Singleton public final class GraphListener extends Object implements org.opendaylight.mdsal.binding.api.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.graph.rev220720.graph.topology.Graph>, AutoCloseable
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, org.opendaylight.graph.ConnectedGraphProvider provider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Close this Listener.
    void
    onDataTreeChanged(List<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.graph.rev220720.graph.topology.Graph>> 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
  • Constructor Details

    • GraphListener

      @Inject public GraphListener(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.graph.ConnectedGraphProvider provider)
  • Method Details

    • close

      @PreDestroy public void close()
      Close this Listener.
      Specified by:
      close in interface AutoCloseable
    • onDataTreeChanged

      public void onDataTreeChanged(List<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.graph.rev220720.graph.topology.Graph>> changes)
      Specified by:
      onDataTreeChanged in interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.graph.rev220720.graph.topology.Graph>