Search in sources :

Example 1 with DOMNotificationRouter

use of org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter in project controller by opendaylight.

the class BindingTestContext method startBindingNotificationBroker.

public void startBindingNotificationBroker() {
    checkState(this.executor != null);
    final DOMNotificationRouter router = DOMNotificationRouter.create(16);
    this.domPublishService = router;
    this.domListenService = router;
    this.publishService = new BindingDOMNotificationPublishServiceAdapter(this.codec, this.domPublishService);
    this.listenService = new BindingDOMNotificationServiceAdapter(this.codec, this.domListenService);
    this.baNotifyImpl = new HeliumNotificationProviderServiceAdapter(this.publishService, this.listenService);
}
Also used : BindingDOMNotificationServiceAdapter(org.opendaylight.controller.md.sal.binding.impl.BindingDOMNotificationServiceAdapter) BindingDOMNotificationPublishServiceAdapter(org.opendaylight.controller.md.sal.binding.impl.BindingDOMNotificationPublishServiceAdapter) DOMNotificationRouter(org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter) HeliumNotificationProviderServiceAdapter(org.opendaylight.controller.md.sal.binding.compat.HeliumNotificationProviderServiceAdapter)

Aggregations

HeliumNotificationProviderServiceAdapter (org.opendaylight.controller.md.sal.binding.compat.HeliumNotificationProviderServiceAdapter)1 BindingDOMNotificationPublishServiceAdapter (org.opendaylight.controller.md.sal.binding.impl.BindingDOMNotificationPublishServiceAdapter)1 BindingDOMNotificationServiceAdapter (org.opendaylight.controller.md.sal.binding.impl.BindingDOMNotificationServiceAdapter)1 DOMNotificationRouter (org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter)1