Class GraphListener

  • All Implemented Interfaces:
    AutoCloseable, EventListener, org.opendaylight.mdsal.binding.api.DataTreeChangeListener<Graph>

    @Singleton
    public final class GraphListener
    extends Object
    implements org.opendaylight.mdsal.binding.api.DataTreeChangeListener<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 Detail

      • GraphListener

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

      • close

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

        public void onDataTreeChanged​(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<Graph>> changes)
        Specified by:
        onDataTreeChanged in interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener<Graph>