Class NodeConnectorNotificationSupplierImpl
- java.lang.Object
- 
- org.opendaylight.openflowplugin.applications.notification.supplier.impl.AbstractNotificationSupplierBase<O>
- 
- org.opendaylight.openflowplugin.applications.notification.supplier.impl.AbstractNotificationSupplierForItemRoot<FlowCapableNodeConnector,org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorUpdated,org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRemoved>
- 
- org.opendaylight.openflowplugin.applications.notification.supplier.impl.NodeConnectorNotificationSupplierImpl
 
 
 
- 
- All Implemented Interfaces:
- AutoCloseable,- EventListener,- org.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNodeConnector>,- NotificationSupplierDefinition<FlowCapableNodeConnector>,- NotificationSupplierForItemRoot<FlowCapableNodeConnector,org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorUpdated,org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRemoved>
 
 public class NodeConnectorNotificationSupplierImpl extends AbstractNotificationSupplierForItemRoot<FlowCapableNodeConnector,org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorUpdated,org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRemoved> Implementation define a contract betweenFlowCapableNodeConnectordata object andNodeConnectorUpdatedandNodeConnectorRemovednotifications.
- 
- 
Field Summary- 
Fields inherited from class org.opendaylight.openflowplugin.applications.notification.supplier.impl.AbstractNotificationSupplierBaseclazz
 
- 
 - 
Constructor SummaryConstructors Constructor Description NodeConnectorNotificationSupplierImpl(org.opendaylight.mdsal.binding.api.NotificationPublishService notifProviderService, org.opendaylight.mdsal.binding.api.DataBroker db)Constructor register supplier as DataTreeChangeListener and create wildCarded InstanceIdentifier.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorUpdatedcreateNotification(FlowCapableNodeConnector flowCapableNodeConnector, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> path)Method produces relevant addItem kind ofNotificationfrom data tree item identified byInstanceIdentifierpath.org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRemoveddeleteNotification(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> path)Method produces relevant deleteItem kind ofNotificationfrom pathInstanceIdentifierto deleted item.org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector>getWildCardPath()Method return wildCardPath for Listener registration and for identify the correct KeyInstanceIdentifier from Data Tree Item in DataStore.- 
Methods inherited from class org.opendaylight.openflowplugin.applications.notification.supplier.impl.AbstractNotificationSupplierForItemRootadd, onDataTreeChanged, remove, update
 - 
Methods inherited from class org.opendaylight.openflowplugin.applications.notification.supplier.impl.AbstractNotificationSupplierBaseclose, createNodeRef, getNodeId, getNodeII, getNodeWildII
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.lang.AutoCloseableclose
 
- 
 
- 
- 
- 
Constructor Detail- 
NodeConnectorNotificationSupplierImplpublic NodeConnectorNotificationSupplierImpl(org.opendaylight.mdsal.binding.api.NotificationPublishService notifProviderService, org.opendaylight.mdsal.binding.api.DataBroker db)Constructor register supplier as DataTreeChangeListener and create wildCarded InstanceIdentifier.- Parameters:
- notifProviderService- -- NotificationPublishService
- db- -- DataBroker
 
 
- 
 - 
Method Detail- 
getWildCardPathpublic org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> getWildCardPath() Description copied from interface:NotificationSupplierDefinitionMethod return wildCardPath for Listener registration and for identify the correct KeyInstanceIdentifier from Data Tree Item in DataStore.- Returns:
- InstanceIdentifier
 
 - 
createNotificationpublic org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorUpdated createNotification(FlowCapableNodeConnector flowCapableNodeConnector, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> path) Description copied from interface:NotificationSupplierForItemRootMethod produces relevant addItem kind ofNotificationfrom data tree item identified byInstanceIdentifierpath.- Parameters:
- flowCapableNodeConnector- - Data Tree Item object
- path- - Identifier of Data Tree Item
- Returns:
- Notification- relevant API contract Notification
 
 - 
deleteNotificationpublic org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRemoved deleteNotification(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> path) Description copied from interface:NotificationSupplierForItemRootMethod produces relevant deleteItem kind ofNotificationfrom pathInstanceIdentifierto deleted item.- Parameters:
- path- - Identifier of Data Tree Item
- Returns:
- Notification- relevant API contract Notification
 
 
- 
 
-