Move DEFAULT_TOPOLOGY_NAME
[netconf.git] / netconf / sal-netconf-connector / src / main / java / org / opendaylight / netconf / sal / connect / api / DeviceActionFactory.java
index c1b24a69f62bbe65e4b83e26aa15dc55c330abba..6e4e47bd3f0a3db771d755312ea69c6b003da389 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.netconf.sal.connect.api;
 
-import org.opendaylight.mdsal.dom.api.DOMActionService;
-import org.opendaylight.yangtools.yang.model.api.SchemaContext;
+import org.eclipse.jdt.annotation.NonNull;
+import org.opendaylight.netconf.sal.connect.api.RemoteDeviceServices.Actions;
 
 public interface DeviceActionFactory {
     /**
@@ -16,12 +16,8 @@ public interface DeviceActionFactory {
      *
      * @param messageTransformer - message transformer (for action in this case)
      * @param listener - allows specific service to send and receive messages to/from device
-     * @param schemaContext - schema context of device
-     * @return {@link DOMActionService} of specific device
+     * @return {@link Actions} of specific device
      */
-    default DOMActionService createDeviceAction(final MessageTransformer messageTransformer,
-            final RemoteDeviceCommunicator listener, final SchemaContext schemaContext) {
-        return null;
-    }
+    @NonNull Actions createDeviceAction(ActionTransformer messageTransformer, RemoteDeviceCommunicator listener);
 }