Remove deprecated AbstractIetfInetUtil methods
[mdsal.git] / binding / yang-binding / src / main / java / org / opendaylight / yangtools / yang / binding / RpcImplementation.java
index 4761fddd521b0e2f5ceb72f3110b5d36480ed186..95b5875fc7cf074cd6bb2b58383f018e48cfaae1 100644 (file)
@@ -7,16 +7,19 @@
  */
 package org.opendaylight.yangtools.yang.binding;
 
+import com.google.common.util.concurrent.ListenableFuture;
 import java.util.Set;
-import java.util.concurrent.Future;
-
 import org.opendaylight.yangtools.yang.common.RpcResult;
 
+/**
+ * This is an old tagging interface, which is not used anywhere right now.
+ *
+ * @deprecated This slated for removal unless we find a use for it.
+ */
+@Deprecated(forRemoval = true)
 public interface RpcImplementation {
 
-    // Fixme: Change to RpcInput
-    Set<Class<? extends DataContainer>> getSupportedInputs();
+    Set<Class<? extends RpcInput>> getSupportedInputs();
 
-    // Fixme: Change to RpcInput
-    <T extends DataContainer> Future<RpcResult<?>> invoke(Class<T> type, T input);
+    <I extends RpcInput, O extends RpcOutput> ListenableFuture<RpcResult<O>> invoke(Class<I> type, I input);
 }