Interface OpendaylightInventoryListener

  • All Superinterfaces:
    EventListener, NotificationListener

    public interface OpendaylightInventoryListener
    extends NotificationListener
    Interface for implementing the following YANG notifications defined in module opendaylight-inventory
     notification node-updated {
       status deprecated;
       leaf node-ref {
         ext:context-reference node-context;
         type node-ref;
       }
       uses node;
     }
     notification node-connector-updated {
       status deprecated;
       leaf node-connector-ref {
         ext:context-reference node-connector-context;
         type node-connector-ref;
       }
       uses node-connector;
     }
     notification node-removed {
       status deprecated;
       leaf node-ref {
         ext:context-reference node-context;
         type node-ref;
       }
     }
     notification node-connector-removed {
       status deprecated;
       leaf node-connector-ref {
         ext:context-reference node-connector-context;
         type node-connector-ref;
       }
     }
     
    • Method Detail

      • onNodeUpdated

        void onNodeUpdated​(NodeUpdated notification)
             
                 A notification sent by someone who realized there was a modification to a node,
                 but did not modify the data tree. Describes that something on the node has been
                 updated (including addition of a new node), but is for whatever reason is not
                 modifying the data tree. Deprecated: If a process determines that a node was
                 updated, then that logic should update the node using the DataBroker directly.
                 Listeners interested update changes should register a data change listener for
                 notifications on removals.
             
         
      • onNodeConnectorUpdated

        void onNodeConnectorUpdated​(NodeConnectorUpdated notification)
             
                 A notification sent by someone who realized there was a modification to a
                 node-connector, but did not modify the data tree. Describes that something on
                 the node-connector has been updated (including addition of a new
                 node-connector), but is for whatever reason is not modifying the data tree.
                 Deprecated: If a process determines that a node-connector was updated, then that
                 logic should update the node-connector using the DataBroker directly. Listeners
                 interested update changes should register a data change listener for
                 notifications on removals.
             
         
      • onNodeRemoved

        void onNodeRemoved​(NodeRemoved notification)
             
                 A notification sent by someone who realized there was a node was removed, but
                 did not modify the data tree. Describes that a node has been removed but is for
                 whatever reason is not modifying the data tree. Deprecated: If a process
                 determines that a node was removed, then that logic should remove the node from
                 the DataBroker directly. Listeners interested in changes should register a data
                 change listener for notifications on removals.
             
         
      • onNodeConnectorRemoved

        void onNodeConnectorRemoved​(NodeConnectorRemoved notification)
             
                 A notification sent by someone who realized there was a node-connector was
                 removed, but did not modify the data tree. Describes that a node-connector has
                 been removed but is for whatever reason is not modifying the data tree.
                 Deprecated: If a process determines that a node-connector was removed, then that
                 logic should remove the node-connector from the DataBroker directly. Listeners
                 interested in changes should register a data change listener for notifications
                 on removals.