public class BindingDOMRpcImplementationAdapter extends Object implements DOMRpcImplementation
Modifier and Type | Method and Description |
---|---|
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.
|
public com.google.common.util.concurrent.FluentFuture<DOMRpcResult> invokeRpc(DOMRpcIdentifier rpc, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> input)
DOMRpcImplementation
invokeRpc
in interface DOMRpcImplementation
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.public long invocationCost()
DOMRpcImplementation
invocationCost
in interface DOMRpcImplementation
Copyright © 2019 OpenDaylight. All rights reserved.