*/
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);
}