Remove deprecated AbstractIetfInetUtil methods
[mdsal.git] / binding / yang-binding / src / main / java / org / opendaylight / yangtools / yang / binding / RpcImplementation.java
index a1aa3bc12793a3a77f9ed1aa6f7034fbdcd3594d..95b5875fc7cf074cd6bb2b58383f018e48cfaae1 100644 (file)
@@ -11,11 +11,15 @@ import com.google.common.util.concurrent.ListenableFuture;
 import java.util.Set;
 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> ListenableFuture<RpcResult<?>> invoke(Class<T> type, T input);
+    <I extends RpcInput, O extends RpcOutput> ListenableFuture<RpcResult<O>> invoke(Class<I> type, I input);
 }