Merge changes Id68de4e3,Id4b3c97f
[yangtools.git] / yang / yang-binding / src / main / java / org / opendaylight / yangtools / yang / binding / RpcImplementation.java
1 /*\r
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.\r
3  *\r
4  * This program and the accompanying materials are made available under the\r
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
6  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
7  */\r
8 package org.opendaylight.yangtools.yang.binding;\r
9 \r
10 import java.util.Set;\r
11 import java.util.concurrent.Future;\r
12 \r
13 import org.opendaylight.yangtools.yang.common.RpcResult;\r
14 \r
15 public interface RpcImplementation {\r
16 \r
17     // Fixme: Change to RpcInput\r
18     Set<Class<? extends DataContainer>> getSupportedInputs();\r
19 \r
20     // Fixme: Change to RpcInput\r
21     <T extends DataContainer> Future<RpcResult<?>> invoke(Class<T> type, T input);\r
22 }\r