public class BindingDOMNotificationPublishServiceAdapter extends Object implements NotificationPublishService
| Modifier and Type | Class and Description |
|---|---|
protected static class |
BindingDOMNotificationPublishServiceAdapter.Builder |
REJECTED| Constructor and Description |
|---|
BindingDOMNotificationPublishServiceAdapter(BindingToNormalizedNodeCodec codec,
DOMNotificationPublishService domPublishService)
Deprecated.
|
BindingDOMNotificationPublishServiceAdapter(DOMNotificationPublishService domPublishService,
BindingToNormalizedNodeCodec codec) |
| Modifier and Type | Method and Description |
|---|---|
protected BindingToNormalizedNodeCodec |
getCodec() |
BindingToNormalizedNodeCodec |
getCodecRegistry() |
T |
getDelegate() |
DOMNotificationPublishService |
getDomPublishService() |
com.google.common.util.concurrent.ListenableFuture<? extends Object> |
offerNotification(Notification notification)
Publishes a notification to subscribed listeners.
|
com.google.common.util.concurrent.ListenableFuture<? extends Object> |
offerNotification(Notification notification,
int timeout,
TimeUnit unit)
Publishes a notification to subscribed listeners.
|
void |
putNotification(Notification notification)
Publishes a notification to subscribed listeners.
|
public BindingDOMNotificationPublishServiceAdapter(DOMNotificationPublishService domPublishService, BindingToNormalizedNodeCodec codec)
@Deprecated public BindingDOMNotificationPublishServiceAdapter(BindingToNormalizedNodeCodec codec, DOMNotificationPublishService domPublishService)
public BindingToNormalizedNodeCodec getCodecRegistry()
public DOMNotificationPublishService getDomPublishService()
public void putNotification(Notification notification) throws InterruptedException
NotificationPublishServiceputNotification in interface NotificationPublishServicenotification - the notification to publish.InterruptedException - if interrupted while waitingpublic com.google.common.util.concurrent.ListenableFuture<? extends Object> offerNotification(Notification notification)
NotificationPublishServiceStill guaranteed not to block. Returns Listenable Future which will complete once.
offerNotification in interface NotificationPublishServicenotification - the notification to publish.NotificationPublishService.REJECTED if
resource constraints preventpublic com.google.common.util.concurrent.ListenableFuture<? extends Object> offerNotification(Notification notification, int timeout, TimeUnit unit) throws InterruptedException
NotificationPublishServiceofferNotification in interface NotificationPublishServicenotification - the notification to publish.timeout - how long to wait before giving up, in units of unitunit - a TimeUnit determining how to interpret the timeout parameterNotificationPublishService.REJECTED if
resource constraints preventInterruptedException - if interrupted while waitingpublic final T getDelegate()
getDelegate in interface org.opendaylight.yangtools.concepts.Delegator<T>protected final BindingToNormalizedNodeCodec getCodec()
Copyright © 2019 OpenDaylight. All rights reserved.