Merge "Option to receive only leaf nodes in websocket notifs"
[netconf.git] / netconf / callhome-provider / src / main / java / org / opendaylight / netconf / callhome / mount / BaseCallHomeTopology.java
1 /*
2  * Copyright (c) 2016 Brocade Communication Systems and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.netconf.callhome.mount;
10
11 import io.netty.util.concurrent.EventExecutor;
12 import org.opendaylight.controller.config.threadpool.ScheduledThreadPool;
13 import org.opendaylight.controller.config.threadpool.ThreadPool;
14 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
15 import org.opendaylight.controller.md.sal.dom.api.DOMMountPointService;
16 import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
17 import org.opendaylight.controller.sal.core.api.Broker;
18 import org.opendaylight.netconf.client.NetconfClientDispatcher;
19 import org.opendaylight.netconf.topology.AbstractNetconfTopology;
20 import org.opendaylight.netconf.topology.api.SchemaRepositoryProvider;
21
22 abstract class BaseCallHomeTopology extends AbstractNetconfTopology {
23
24     protected DOMMountPointService mountPointService = null;
25
26     protected BaseCallHomeTopology(String topologyId, NetconfClientDispatcher clientDispatcher,
27             BindingAwareBroker bindingAwareBroker, Broker domBroker, EventExecutor eventExecutor,
28             ScheduledThreadPool keepaliveExecutor, ThreadPool processingExecutor,
29             SchemaRepositoryProvider schemaRepositoryProvider, DataBroker dataBroker, DOMMountPointService mountPointService) {
30         super(topologyId, clientDispatcher, bindingAwareBroker, domBroker, eventExecutor, keepaliveExecutor,
31                 processingExecutor, schemaRepositoryProvider, dataBroker);
32         this.mountPointService = mountPointService;
33     }
34
35 }