NotificationPublishService.@Deprecated public interface NotificationProviderService extends NotificationService, org.opendaylight.controller.md.sal.common.api.notify.NotificationPublishService<org.opendaylight.yangtools.yang.binding.Notification>
NotificationService and
NotificationPublishService interfaces.| Modifier and Type | Interface and Description |
|---|---|
static interface |
NotificationProviderService.NotificationInterestListener
Deprecated.
Interface for a listener interested in being notified about notification subscriptions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
publish(org.opendaylight.yangtools.yang.binding.Notification notification)
Deprecated.
|
void |
publish(org.opendaylight.yangtools.yang.binding.Notification notification,
ExecutorService executor)
Deprecated.
|
org.opendaylight.yangtools.concepts.ListenerRegistration<NotificationProviderService.NotificationInterestListener> |
registerInterestListener(NotificationProviderService.NotificationInterestListener interestListener)
Deprecated.
Registers a listener to be notified about notification subscriptions.
|
registerNotificationListener, registerNotificationListenervoid publish(org.opendaylight.yangtools.yang.binding.Notification notification)
publish in interface org.opendaylight.controller.md.sal.common.api.notify.NotificationPublishService<org.opendaylight.yangtools.yang.binding.Notification>void publish(org.opendaylight.yangtools.yang.binding.Notification notification,
ExecutorService executor)
publish in interface org.opendaylight.controller.md.sal.common.api.notify.NotificationPublishService<org.opendaylight.yangtools.yang.binding.Notification>org.opendaylight.yangtools.concepts.ListenerRegistration<NotificationProviderService.NotificationInterestListener> registerInterestListener(NotificationProviderService.NotificationInterestListener interestListener)
On registration of this listener, the
NotificationProviderService.NotificationInterestListener.onNotificationSubscribtion(Class) method
will be invoked for every notification type that currently has a notification listener
subscribed.
interestListener - the listener that will be notified when subscriptions
for new notification types occur.ListenerRegistration instance that should be used to unregister the listener
by invoking the ListenerRegistration.close() method when no longer needed.Copyright © 2020 OpenDaylight. All rights reserved.