Do no implement invokeNetconf() as a default method
[netconf.git] / apps / netconf-topology-singleton / src / main / java / org / opendaylight / netconf / topology / singleton / impl / actors / NetconfNodeActor.java
index 12b8350372e04764b880f7f89fe71d2d1b855410..c58716c2aa6e100ae11bb50b846a487602b26f70 100644 (file)
@@ -333,7 +333,18 @@ public class NetconfNodeActor extends AbstractUntypedActor {
                         final var rpcProxy = new ProxyDOMRpcService(actorSystem, masterReference, id,
                             actorResponseWaitTime);
                         slaveSalManager.registerSlaveMountPoint(result, masterReference, new RemoteDeviceServices(
-                            (Rpcs.Normalized) () -> rpcProxy,
+                            new Rpcs.Normalized() {
+                                @Override
+                                public ListenableFuture<? extends DOMRpcResult> invokeNetconf(final QName type,
+                                        final ContainerNode input) {
+                                    return rpcProxy.invokeRpc(type, input);
+                                }
+
+                                @Override
+                                public DOMRpcService domRpcService() {
+                                    return rpcProxy;
+                                }
+                            },
                             new ProxyDOMActionService(actorSystem, masterReference, id, actorResponseWaitTime)));
                     }
                 });