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 Details

    • SrmRpcProvider

      @Inject public SrmRpcProvider(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.RpcProviderService rpcProvider)
  • Method Details

    • close

      @PreDestroy public void close()
      Specified by:
      close in interface AutoCloseable
    • recover

      public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RecoverOutput>> recover(RecoverInput input)
      Description copied from interface: OdlSrmRpcsService
      Invoke recover RPC.
           
               Recover a given service or instance
           
       
      Specified by:
      recover in interface OdlSrmRpcsService
      Parameters:
      input - of recover
      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: OdlSrmRpcsService
      Invoke reinstall RPC.
           
               Reinstall a given service
           
       
      Specified by:
      reinstall in interface OdlSrmRpcsService
      Parameters:
      input - of reinstall
      Returns:
      output of reinstall