Class ForwardingDOMRpcImplementation
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- org.opendaylight.controller.md.sal.dom.spi.ForwardingDOMRpcImplementation
-
- All Implemented Interfaces:
DOMRpcImplementation
@Deprecated(forRemoval=true) public abstract class ForwardingDOMRpcImplementation extends ForwardingObject implements DOMRpcImplementation
Deprecated, for removal: This API element is subject to removal in a future version.UseForwardingDOMRpcImplementation
instead.Utility implementation which implementsDOMRpcImplementation
by forwarding it to a backing delegate.
-
-
Constructor Summary
Constructors Constructor Description ForwardingDOMRpcImplementation()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected abstract @NonNull DOMRpcImplementation
delegate()
Deprecated, for removal: This API element is subject to removal in a future version.CheckedFuture<DOMRpcResult,DOMRpcException>
invokeRpc(DOMRpcIdentifier type, NormalizedNode<?,?> input)
Deprecated, for removal: This API element is subject to removal in a future version.Initiate invocation of the RPC.-
Methods inherited from class com.google.common.collect.ForwardingObject
toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opendaylight.controller.md.sal.dom.api.DOMRpcImplementation
invocationCost
-
-
-
-
Method Detail
-
delegate
protected abstract @NonNull DOMRpcImplementation delegate()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
delegate
in classForwardingObject
-
invokeRpc
public CheckedFuture<DOMRpcResult,DOMRpcException> invokeRpc(DOMRpcIdentifier type, NormalizedNode<?,?> input)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:DOMRpcImplementation
Initiate invocation of the RPC. Implementations of this method are expected to not block on external resources.- Specified by:
invokeRpc
in interfaceDOMRpcImplementation
- Parameters:
type
- RPC identifier which was invokedinput
- Input arguments, null if the RPC does not take any.- Returns:
- A
CheckedFuture
which will return either a result structure, or report a subclass ofDOMRpcException
reporting a transport error.
-
-