Search in sources :

Example 1 with DOMNotification

use of org.opendaylight.controller.md.sal.dom.api.DOMNotification in project controller by opendaylight.

the class BindingDOMNotificationListenerAdapter method onNotification.

@Override
public void onNotification(@Nonnull final DOMNotification notification) {
    final Notification baNotification = deserialize(notification);
    final QName notificationQName = notification.getType().getLastComponent();
    getInvoker(notification.getType()).invokeNotification(delegate, notificationQName, baNotification);
}
Also used : QName(org.opendaylight.yangtools.yang.common.QName) Notification(org.opendaylight.yangtools.yang.binding.Notification) DOMNotification(org.opendaylight.controller.md.sal.dom.api.DOMNotification)

Aggregations

DOMNotification (org.opendaylight.controller.md.sal.dom.api.DOMNotification)1 Notification (org.opendaylight.yangtools.yang.binding.Notification)1 QName (org.opendaylight.yangtools.yang.common.QName)1