- All Superinterfaces:
BindingContract<Rpc<I,
O>>
public non-sealed interface Rpc<I extends RpcInput,O extends RpcOutput>
extends BindingContract<Rpc<I,O>>
Interface extended by all interfaces generated for a YANG
rpc
.-
Method Summary
Modifier and TypeMethodDescription@NonNull ListenableFuture
<@NonNull RpcResult<@NonNull O>> Invoke the RPC.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
invoke
@CheckReturnValue @NonNull ListenableFuture<@NonNull RpcResult<@NonNull O>> invoke(@NonNull I input) Invoke the RPC.- Parameters:
input
- Input argument- Returns:
- Future result of invocation
- Throws:
NullPointerException
- if any of the arguments are null
-