@Beta public class BindingDOMNotificationPublishServiceAdapter extends Object implements NotificationPublishService, AutoCloseable
Modifier and Type | Field and Description |
---|---|
static BindingDOMAdapterBuilder.Factory<NotificationPublishService> |
BUILDER_FACTORY |
REJECTED
Constructor and Description |
---|
BindingDOMNotificationPublishServiceAdapter(BindingToNormalizedNodeCodec codec,
DOMNotificationPublishService domPublishService) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
BindingToNormalizedNodeCodec |
getCodecRegistry() |
DOMNotificationPublishService |
getDomPublishService() |
com.google.common.util.concurrent.ListenableFuture<? extends Object> |
offerNotification(Notification<?> notification) |
com.google.common.util.concurrent.ListenableFuture<? extends Object> |
offerNotification(Notification<?> notification,
int timeout,
TimeUnit unit) |
void |
putNotification(Notification<?> notification) |
public static final BindingDOMAdapterBuilder.Factory<NotificationPublishService> BUILDER_FACTORY
public BindingDOMNotificationPublishServiceAdapter(BindingToNormalizedNodeCodec codec, DOMNotificationPublishService domPublishService)
public BindingToNormalizedNodeCodec getCodecRegistry()
public DOMNotificationPublishService getDomPublishService()
public void putNotification(Notification<?> notification) throws InterruptedException
putNotification
in interface NotificationPublishService
InterruptedException
public com.google.common.util.concurrent.ListenableFuture<? extends Object> offerNotification(Notification<?> notification)
offerNotification
in interface NotificationPublishService
public com.google.common.util.concurrent.ListenableFuture<? extends Object> offerNotification(Notification<?> notification, int timeout, TimeUnit unit) throws InterruptedException
offerNotification
in interface NotificationPublishService
InterruptedException
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2019 OpenDaylight. All rights reserved.