2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
\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
8 package org.opendaylight.yangtools.yang.binding;
\r
10 import java.util.Set;
\r
11 import java.util.concurrent.Future;
\r
13 import org.opendaylight.yangtools.yang.common.QName;
\r
14 import org.opendaylight.yangtools.yang.common.RpcResult;
\r
16 public interface RpcImplementation {
\r
18 // Fixme: Change to RpcInput
\r
19 Set<Class<? extends DataContainer>> getSupportedInputs();
\r
21 // Fixme: Change to RpcInput
\r
22 <T extends DataContainer> Future<RpcResult<?>> invoke(Class<T> type, T input);
\r