Use Timer for KeepaliveSalFacade
[netconf.git] / apps / callhome-provider / src / main / java / org / opendaylight / netconf / callhome / mount / CallHomeTopology.java
index 533f0cb1f83db4001604b9056f54cf7f6433ccd4..bf3626b0370ff05c36424ba8a03b46f2a9e618dd 100644 (file)
@@ -8,6 +8,7 @@
 package org.opendaylight.netconf.callhome.mount;
 
 import com.google.common.annotations.VisibleForTesting;
+import io.netty.util.Timer;
 import java.util.concurrent.Executor;
 import java.util.concurrent.ScheduledExecutorService;
 import org.opendaylight.mdsal.binding.api.DataBroker;
@@ -23,13 +24,13 @@ import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.
 
 // Non-final for mocking
 public class CallHomeTopology extends AbstractNetconfTopology {
-    public CallHomeTopology(final String topologyId, final NetconfClientFactory clientFactory,
+    public CallHomeTopology(final String topologyId, final NetconfClientFactory clientFactory, final Timer timer,
             final ScheduledExecutorService scheduledExecutor, final Executor processingExecutor,
             final SchemaResourceManager schemaRepositoryProvider, final DataBroker dataBroker,
             final DOMMountPointService mountPointService, final NetconfClientConfigurationBuilderFactory builderFactory,
             final BaseNetconfSchemas baseSchemas, final DeviceActionFactory deviceActionFactory) {
-        super(topologyId, clientFactory, scheduledExecutor, processingExecutor, schemaRepositoryProvider, dataBroker,
-            mountPointService, builderFactory, deviceActionFactory, baseSchemas);
+        super(topologyId, clientFactory, timer, scheduledExecutor, processingExecutor, schemaRepositoryProvider,
+            dataBroker, mountPointService, builderFactory, deviceActionFactory, baseSchemas);
     }
 
     void disconnectNode(final NodeId nodeId) {