public abstract class ForwardingDOMNotificationService extends com.google.common.collect.ForwardingObject implements DOMNotificationService
DOMNotificationService
which forwards all requests
to a delegate instance.Constructor and Description |
---|
ForwardingDOMNotificationService() |
Modifier and Type | Method and Description |
---|---|
protected abstract DOMNotificationService |
delegate() |
<T extends DOMNotificationListener> |
registerNotificationListener(T listener,
Collection<org.opendaylight.yangtools.yang.model.api.SchemaPath> types)
Register a
DOMNotificationListener to receive a set of notifications. |
<T extends DOMNotificationListener> |
registerNotificationListener(T listener,
org.opendaylight.yangtools.yang.model.api.SchemaPath... types)
Register a
DOMNotificationListener to receive a set of notifications. |
protected abstract DOMNotificationService delegate()
delegate
in class com.google.common.collect.ForwardingObject
public <T extends DOMNotificationListener> org.opendaylight.yangtools.concepts.ListenerRegistration<T> registerNotificationListener(T listener, Collection<org.opendaylight.yangtools.yang.model.api.SchemaPath> types)
DOMNotificationService
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.registerNotificationListener
in interface DOMNotificationService
listener
- Notification instance to registertypes
- Notification types which should be delivered to the listener. Duplicate entries
are processed only once, null entries are ignored.ListenerRegistration.close()
will stop the
delivery of notifications to the listenerpublic <T extends DOMNotificationListener> org.opendaylight.yangtools.concepts.ListenerRegistration<T> registerNotificationListener(T listener, org.opendaylight.yangtools.yang.model.api.SchemaPath... types)
DOMNotificationService
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.registerNotificationListener
in interface DOMNotificationService
listener
- Notification instance to registertypes
- Notification types which should be delivered to the listener. Duplicate entries
are processed only once, null entries are ignored.ListenerRegistration.close()
will stop the
delivery of notifications to the listenerCopyright © 2019 OpenDaylight. All rights reserved.