Interface NotificationSupplierForItemRoot<O extends org.opendaylight.yangtools.yang.binding.DataObject,C extends org.opendaylight.yangtools.yang.binding.Notification,D extends org.opendaylight.yangtools.yang.binding.Notification>
-
- Type Parameters:
O
- - data tree item ObjectC
- - Create notificationD
- - Delete notification
- All Superinterfaces:
AutoCloseable
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<O>
,EventListener
,NotificationSupplierDefinition<O>
- All Known Implementing Classes:
AbstractNotificationSupplierForItemRoot
,NodeConnectorNotificationSupplierImpl
,NodeNotificationSupplierImpl
public interface NotificationSupplierForItemRoot<O extends org.opendaylight.yangtools.yang.binding.DataObject,C extends org.opendaylight.yangtools.yang.binding.Notification,D extends org.opendaylight.yangtools.yang.binding.Notification> extends NotificationSupplierDefinition<O>
Supplier Root Item contracts definition for every Notification. All root items are described by two notifications. Notification for Create and Delete. So interface has to contain two methods for relevant Notification.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description C
createNotification(O dataTreeItemObject, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> path)
Method produces relevant addItem kind ofNotification
from data tree item identified byInstanceIdentifier
path.D
deleteNotification(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> path)
Method produces relevant deleteItem kind ofNotification
from pathInstanceIdentifier
to deleted item.-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener
onDataTreeChanged, onInitialData
-
Methods inherited from interface org.opendaylight.openflowplugin.applications.notification.supplier.NotificationSupplierDefinition
getWildCardPath
-
-
-
-
Method Detail
-
createNotification
C createNotification(O dataTreeItemObject, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> path)
Method produces relevant addItem kind ofNotification
from data tree item identified byInstanceIdentifier
path.- Parameters:
dataTreeItemObject
- - Data Tree Item objectpath
- - Identifier of Data Tree Item- Returns:
Notification
- relevant API contract Notification
-
deleteNotification
D deleteNotification(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> path)
Method produces relevant deleteItem kind ofNotification
from pathInstanceIdentifier
to deleted item.- Parameters:
path
- - Identifier of Data Tree Item- Returns:
Notification
- relevant API contract Notification
-
-