Migrate netconf to MD-SAL APIs
[netconf.git] / netconf / sal-netconf-connector / src / main / java / org / opendaylight / netconf / sal / connect / api / RemoteDeviceCommunicator.java
index 3c887cfa4b99c7fdc7770629c592d305f970aee8..65cf0ad9c62b82ef11a513d3f36c0eebb6b7c1f3 100644 (file)
@@ -7,13 +7,14 @@
  */
 package org.opendaylight.netconf.sal.connect.api;
 
-import com.google.common.util.concurrent.ListenableFuture;
+import com.google.common.util.concurrent.FluentFuture;
 import org.opendaylight.yangtools.yang.common.QName;
 import org.opendaylight.yangtools.yang.common.RpcResult;
 
 public interface RemoteDeviceCommunicator<M> extends AutoCloseable {
 
-    ListenableFuture<RpcResult<M>> sendRequest(M message, QName rpc);
+    FluentFuture<RpcResult<M>> sendRequest(M message, QName rpc);
 
+    @Override
     void close();
 }