Added more Rpc markers to yang-binding.
[mdsal.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.QName;\r
14 import org.opendaylight.yangtools.yang.common.RpcResult;\r
15 \r
16 public interface RpcImplementation {\r
17 \r
18     // Fixme: Change to RpcInput\r
19     Set<Class<? extends DataContainer>> getSupportedInputs();\r
20 \r
21     // Fixme: Change to RpcInput\r
22     <T extends DataContainer> Future<RpcResult<?>> invoke(Class<T> type, T input);\r
23 }\r