Refactor NetconfDeviceSchemas
[netconf.git] / plugins / netconf-client-mdsal / src / main / java / org / opendaylight / netconf / client / mdsal / api / NetconfDeviceSchemasResolver.java
index e72dbb5a88cbb70ea28b55fb9f9d85c03ecd2f21..c4a94a6a2d278fb2f1b7c2eba8290f0ea31ea551 100644 (file)
@@ -11,10 +11,12 @@ import com.google.common.util.concurrent.ListenableFuture;
 import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
 
 /**
- * Factory for netconf device schemas.
+ * A component capable of determining the {@link NetconfDeviceSchemas} for a particular device.
  */
 public interface NetconfDeviceSchemasResolver {
     // FIXME: document this method
-    ListenableFuture<? extends NetconfDeviceSchemas> resolve(NetconfRpcService deviceRpc,
-        NetconfSessionPreferences remoteSessionCapabilities, RemoteDeviceId id, EffectiveModelContext schemaContext);
+    ListenableFuture<NetconfDeviceSchemas> resolve(RemoteDeviceId deviceId,
+        NetconfSessionPreferences sessionPreferences, NetconfRpcService deviceRpc,
+        // FIXME: this should not be needed
+        EffectiveModelContext baseModelContext);
 }