public final class SingletonGetConstantService extends Object implements DOMRpcImplementation, org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Void> |
closeServiceInstance() |
org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier |
getIdentifier() |
void |
instantiateServiceInstance() |
com.google.common.util.concurrent.CheckedFuture<DOMRpcResult,DOMRpcException> |
invokeRpc(DOMRpcIdentifier rpc,
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> input)
Initiate invocation of the RPC.
|
static org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceRegistration |
registerNew(org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider singletonService,
DOMRpcProviderService rpcProviderService,
String constant) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvocationCostpublic static org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceRegistration registerNew(org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider singletonService,
DOMRpcProviderService rpcProviderService,
String constant)
@Nonnull public com.google.common.util.concurrent.CheckedFuture<DOMRpcResult,DOMRpcException> invokeRpc(@Nonnull DOMRpcIdentifier rpc, @Nullable org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> input)
DOMRpcImplementationinvokeRpc in interface DOMRpcImplementationrpc - RPC identifier which was invokedinput - Input arguments, null if the RPC does not take any.CheckedFuture which will return either a result structure,
or report a subclass of DOMRpcException reporting a transport
error.public void instantiateServiceInstance()
instantiateServiceInstance in interface org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServicepublic com.google.common.util.concurrent.ListenableFuture<Void> closeServiceInstance()
closeServiceInstance in interface org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServicepublic org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier getIdentifier()
getIdentifier in interface org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier>Copyright © 2019 OpenDaylight. All rights reserved.