BUG-2314 Migrate netconf-connector to NormalizedNode
[controller.git] / opendaylight / md-sal / sal-netconf-connector / src / main / java / org / opendaylight / controller / sal / connect / api / RemoteDeviceHandler.java
index c5a0ae25446edb2de276f54f18974ace71845f60..02f45e5bc33a288746954f077d13e32a7ee224b0 100644 (file)
@@ -7,20 +7,20 @@
  */
 package org.opendaylight.controller.sal.connect.api;
 
-import org.opendaylight.controller.sal.core.api.RpcImplementation;
-import org.opendaylight.yangtools.yang.data.api.CompositeNode;
+import org.opendaylight.controller.md.sal.dom.api.DOMRpcService;
+import org.opendaylight.yangtools.yang.data.api.schema.ContainerNode;
 import org.opendaylight.yangtools.yang.model.api.SchemaContext;
 
 public interface RemoteDeviceHandler<PREF> extends AutoCloseable {
 
     void onDeviceConnected(SchemaContext remoteSchemaContext,
-                           PREF netconfSessionPreferences, RpcImplementation deviceRpc);
+                           PREF netconfSessionPreferences, DOMRpcService deviceRpc);
 
     void onDeviceDisconnected();
 
     void onDeviceFailed(Throwable throwable);
 
-    void onNotification(CompositeNode domNotification);
+    void onNotification(ContainerNode domNotification);
 
     void close();
 }