public interface DOMRpcImplementation
Modifier and Type | Method and Description |
---|---|
default long |
invocationCost()
Return the relative invocation cost of this implementation.
|
@NonNull com.google.common.util.concurrent.FluentFuture<DOMRpcResult> |
invokeRpc(@NonNull DOMRpcIdentifier rpc,
@Nullable 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.