@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 NotificationPublishServiceInterruptedExceptionpublic com.google.common.util.concurrent.ListenableFuture<? extends Object> offerNotification(Notification<?> notification)
offerNotification in interface NotificationPublishServicepublic com.google.common.util.concurrent.ListenableFuture<? extends Object> offerNotification(Notification<?> notification, int timeout, TimeUnit unit) throws InterruptedException
offerNotification in interface NotificationPublishServiceInterruptedExceptionpublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2019 OpenDaylight. All rights reserved.