Class SrmRpcProvider
- java.lang.Object
-
- org.opendaylight.serviceutils.srm.impl.SrmRpcProvider
-
- All Implemented Interfaces:
AutoCloseable,OdlSrmRpcsService,org.opendaylight.yangtools.yang.binding.RpcService
@Singleton @RequireServiceComponentRuntime public final class SrmRpcProvider extends Object implements OdlSrmRpcsService, AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description SrmRpcProvider(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.RpcProviderService rpcProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RecoverOutput>>recover(RecoverInput input)InvokerecoverRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ReinstallOutput>>reinstall(ReinstallInput input)InvokereinstallRPC.
-
-
-
Method Detail
-
close
@PreDestroy public void close()
- Specified by:
closein interfaceAutoCloseable
-
recover
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RecoverOutput>> recover(RecoverInput input)
Description copied from interface:OdlSrmRpcsServiceInvokerecoverRPC.Recover a given service or instance- Specified by:
recoverin interfaceOdlSrmRpcsService- Parameters:
input- ofrecover- Returns:
- output of
recover
-
reinstall
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ReinstallOutput>> reinstall(ReinstallInput input)
Description copied from interface:OdlSrmRpcsServiceInvokereinstallRPC.Reinstall a given service- Specified by:
reinstallin interfaceOdlSrmRpcsService- Parameters:
input- ofreinstall- Returns:
- output of
reinstall
-
-