2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.sal.core.api;
10 import java.util.concurrent.Future;
12 import org.opendaylight.yangtools.yang.common.QName;
13 import org.opendaylight.yangtools.yang.common.RpcResult;
14 import org.opendaylight.yangtools.yang.data.api.CompositeNode;
16 public interface RpcConsumptionRegistry {
18 * Sends an RPC to other components registered to the broker.
20 * @see RpcImplementation
24 * Input data to the RPC
25 * @return Result of the RPC call
27 Future<RpcResult<CompositeNode>> rpc(QName rpc, CompositeNode input);