Specialize RemoteDeviceHandler to NetconfSessionPreferences
[netconf.git] / netconf / netconf-topology-singleton / src / main / java / org / opendaylight / netconf / topology / singleton / api / RemoteDeviceConnector.java
index 97d067dae5ab29e13d0f898a377d12f205ff27ca..90758238e72b39c351e18c6316c9198d42e2bf75 100644 (file)
@@ -8,14 +8,12 @@
 package org.opendaylight.netconf.topology.singleton.api;
 
 import org.opendaylight.netconf.sal.connect.api.RemoteDeviceHandler;
-import org.opendaylight.netconf.sal.connect.netconf.listener.NetconfSessionPreferences;
 
 /**
  * Provides API for connection ODL (master) with device.
  */
 // FIXME: way more documentation is needed here
 public interface RemoteDeviceConnector {
-
     /**
      * Create device communicator and open device connection.
      *
@@ -23,7 +21,7 @@ public interface RemoteDeviceConnector {
      * @throws NullPointerException if {@code deviceHandler} is null
      */
     // FIXME: this should return a resource corresponding to the device connection
-    void startRemoteDeviceConnection(RemoteDeviceHandler<NetconfSessionPreferences> deviceHandler);
+    void startRemoteDeviceConnection(RemoteDeviceHandler deviceHandler);
 
     /**
      * Stop device communicator.