public interface DOMNotificationService extends DOMService, BrokerService
DOMService which allows its users to subscribe to receive
DOMNotifications.| Modifier and Type | Method and Description |
|---|---|
<T extends DOMNotificationListener> |
registerNotificationListener(T listener,
Collection<SchemaPath> types)
Register a
DOMNotificationListener to receive a set of notifications. |
<T extends DOMNotificationListener> |
registerNotificationListener(T listener,
SchemaPath... types)
Register a
DOMNotificationListener to receive a set of notifications. |
<T extends DOMNotificationListener> org.opendaylight.yangtools.concepts.ListenerRegistration<T> registerNotificationListener(@Nonnull T listener, @Nonnull Collection<SchemaPath> types)
DOMNotificationListener to receive a set of notifications. As with
other ListenerRegistration-based interfaces, registering an instance multiple times
results in notifications being delivered for each registration.listener - Notification instance to registertypes - Notification types which should be delivered to the listener. Duplicate
entries are processed only once, null entries are ignored.DOMNotificationListenerRegistration#close()
will stop the delivery of notifications to the listenerIllegalArgumentException - if types is empty or contains an invalid element, such as
null or a SchemaPath which does not represent a valid DOMNotification type.NullPointerException - if either of the arguments is null<T extends DOMNotificationListener> org.opendaylight.yangtools.concepts.ListenerRegistration<T> registerNotificationListener(@Nonnull T listener, SchemaPath... types)
DOMNotificationListener to receive a set of notifications. As with
other ListenerRegistration-based interfaces, registering an instance multiple times
results in notifications being delivered for each registration.listener - Notification instance to registertypes - Notification types which should be delivered to the listener. Duplicate
entries are processed only once, null entries are ignored.DOMNotificationListenerRegistration#close()
will stop the delivery of notifications to the listenerIllegalArgumentException - if types is empty or contains an invalid element, such as
null or a SchemaPath which does not represent a valid DOMNotification type.NullPointerException - if listener is nullCopyright © 2016 OpenDaylight. All rights reserved.