public interface DOMRpcImplementation
Modifier and Type | Method and Description |
---|---|
default long |
invocationCost()
Return the relative invocation cost of this implementation.
|
com.google.common.util.concurrent.FluentFuture<DOMRpcResult> |
invokeRpc(DOMRpcIdentifier rpc,
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> input)
Initiate invocation of the RPC.
|
@Nonnull com.google.common.util.concurrent.FluentFuture<DOMRpcResult> invokeRpc(@Nonnull DOMRpcIdentifier rpc, @Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> input)
rpc
- RPC identifier which was invokedinput
- Input arguments, null if the RPC does not take any.FluentFuture
which will return either a result structure,
or report a subclass of DOMRpcException
reporting a transport
error.default long invocationCost()
Copyright © 2019 OpenDaylight. All rights reserved.