Convert itm-impl to use mdsal-binding-util
[genius.git] / mdsalutil / mdsalutil-api / src / main / java / org / opendaylight / genius / mdsalutil / interfaces / IMdsalApiManager.java
index 3a6c6043505dac89fc599a9cfb01a9de76cbf18b..37502e5ca68aa7fc1be5f934866674163e94f62a 100644 (file)
@@ -10,11 +10,11 @@ package org.opendaylight.genius.mdsalutil.interfaces;
 import com.google.common.util.concurrent.FluentFuture;
 import com.google.common.util.concurrent.ListenableFuture;
 import java.util.concurrent.ExecutionException;
-import org.opendaylight.genius.infra.Datastore.Configuration;
-import org.opendaylight.genius.infra.TypedReadWriteTransaction;
-import org.opendaylight.genius.infra.TypedWriteTransaction;
 import org.opendaylight.genius.mdsalutil.FlowEntity;
 import org.opendaylight.genius.mdsalutil.GroupEntity;
+import org.opendaylight.mdsal.binding.util.Datastore.Configuration;
+import org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction;
+import org.opendaylight.mdsal.binding.util.TypedWriteTransaction;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowId;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowKey;
@@ -32,7 +32,7 @@ public interface IMdsalApiManager {
      * @return
      */
     @Deprecated
-    FluentFuture<Void> installFlow(FlowEntity flowEntity);
+    FluentFuture<?> installFlow(FlowEntity flowEntity);
 
     /**
      * Adds a flow.
@@ -43,7 +43,7 @@ public interface IMdsalApiManager {
      * @return
      */
     @Deprecated
-    FluentFuture<Void> installFlow(Uint64 dpId, Flow flowEntity);
+    FluentFuture<?> installFlow(Uint64 dpId, Flow flowEntity);
 
     /**
      * Adds a flow.
@@ -54,7 +54,7 @@ public interface IMdsalApiManager {
      * @return
      */
     @Deprecated
-    FluentFuture<Void> installFlow(Uint64 dpId, FlowEntity flowEntity);
+    FluentFuture<?> installFlow(Uint64 dpId, FlowEntity flowEntity);
 
     /**
      * Adds the given flow.
@@ -83,7 +83,7 @@ public interface IMdsalApiManager {
      * @return
      */
     @Deprecated
-    ListenableFuture<Void> removeFlow(Uint64 dpId, short tableId, FlowId flowId);
+    ListenableFuture<?> removeFlow(Uint64 dpId, short tableId, FlowId flowId);
 
     /**
      * Removes a flow.
@@ -93,7 +93,7 @@ public interface IMdsalApiManager {
      * @return
      */
     @Deprecated
-    FluentFuture<Void> removeFlow(FlowEntity flowEntity);
+    FluentFuture<?> removeFlow(FlowEntity flowEntity);
 
     /**
      * Removes a flow.
@@ -101,7 +101,7 @@ public interface IMdsalApiManager {
      * @deprecated Use {@link #removeFlow(TypedReadWriteTransaction, Uint64, Flow)}.
      */
     @Deprecated
-    FluentFuture<Void> removeFlow(Uint64 dpId, Flow flowEntity);
+    FluentFuture<?> removeFlow(Uint64 dpId, Flow flowEntity);
 
     /**
      * Removes the given flow.