* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.controller.sal.binding.api;
+package org.opendaylight.mdsal.binding.api;
+
+import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry;
-import org.opendaylight.controller.md.sal.binding.api.BindingService;
import org.opendaylight.yangtools.yang.binding.RpcService;
/**
* RPC implementations are registered using the {@link RpcProviderRegistry}.
*
*/
-public interface RpcConsumerRegistry extends BindingAwareService, BindingService {
+public interface RpcConsumerRegistry extends BindingService {
/**
* Returns an implementation of a requested RPC service.
*
* <pre>
* final Future<RpcResult<SomeRpcOutput>> future = someRpcService.someRpc( ... );
* Futures.addCallback(JdkFutureAdapters.listenInThreadPool(future), new FutureCallback<RpcResult<SomeRpcOutput>>() {
- *
+ *
* public void onSuccess(RpcResult<SomeRpcOutput> result) {
* // process result ...
* }
- *
+ *
* public void onFailure(Throwable t) {
* // RPC failed
* }