public class BindingDOMNotificationServiceAdapter extends Object implements NotificationService
| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.mdsal.binding.dom.adapter.BindingDOMAdapterBuilder.Factory<NotificationService> |
BUILDER_FACTORY |
| Constructor and Description |
|---|
BindingDOMNotificationServiceAdapter(BindingNormalizedNodeSerializer codec,
DOMNotificationService domNotifService)
Deprecated.
|
BindingDOMNotificationServiceAdapter(DOMNotificationService domNotifService,
BindingNormalizedNodeSerializer codec) |
| Modifier and Type | Method and Description |
|---|---|
DOMNotificationService |
getDomService() |
<T extends NotificationListener> |
registerNotificationListener(T listener)
Registers a listener which implements a YANG-generated notification interface derived from
NotificationListener. |
public static final org.opendaylight.mdsal.binding.dom.adapter.BindingDOMAdapterBuilder.Factory<NotificationService> BUILDER_FACTORY
public BindingDOMNotificationServiceAdapter(DOMNotificationService domNotifService, BindingNormalizedNodeSerializer codec)
@Deprecated public BindingDOMNotificationServiceAdapter(BindingNormalizedNodeSerializer codec, DOMNotificationService domNotifService)
public <T extends NotificationListener> org.opendaylight.yangtools.concepts.ListenerRegistration<T> registerNotificationListener(T listener)
NotificationServiceNotificationListener. The listener is registered for all notifications present in
the implemented interface.
registerNotificationListener in interface NotificationServicelistener - the listener implementation that will receive notifications.ListenerRegistration instance that should be used to unregister the listener
by invoking the ListenerRegistration.close() method when no longer needed.public DOMNotificationService getDomService()
Copyright © 2019 OpenDaylight. All rights reserved.