Class AbstractRpcAction
- java.lang.Object
-
- org.opendaylight.clustering.it.karaf.cli.AbstractRpcAction
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
- Direct Known Subclasses:
AddPersonCommand,AddShardReplicaCommand,BasicGlobalCommand,BuyCarCommand,CheckPublishNotificationsCommand,IsClientAbortedCommand,RegisterBoundConstantCommand,RegisterCommitCohortCommand,RegisterConstantCommand,RegisterDefaultConstantCommand,RegisterFlappingSingletonCommand,RegisterLoggingDtclCommand,RegisterOwnershipCommand,RegisterSingletonConstantCommand,RemoveShardReplicaCommand,ShutdownShardReplicaCommand,StartPublishNotificationsCommand,StopStressTestCommand,StressTestCommand,SubscribeDdtlCommand,SubscribeDtclCommand,SubscribeYnlCommand,UnregisterBoundConstantCommand,UnregisterCommitCohortCommand,UnregisterConstantCommand,UnregisterDefaultConstantCommand,UnregisterFlappingSingletonCommand,UnregisterLoggingDtclsCommand,UnregisterOwnershipCommand,UnregisterSingletonConstantCommand,UnsubscribeDdtlCommand,UnsubscribeDtclCommand,UnsubscribeYnlCommand,WriteTransactionsCommand
public abstract class AbstractRpcAction extends Object implements org.apache.karaf.shell.api.action.Action
Common base class for all commands which end up invoking an RPC.
-
-
Constructor Summary
Constructors Constructor Description AbstractRpcAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Objectexecute()protected abstract com.google.common.util.concurrent.ListenableFuture<? extends org.opendaylight.yangtools.yang.common.RpcResult<?>>invokeRpc()
-
-
-
Method Detail
-
execute
public final Object execute() throws InterruptedException, ExecutionException
- Specified by:
executein interfaceorg.apache.karaf.shell.api.action.Action- Throws:
InterruptedExceptionExecutionException
-
invokeRpc
protected abstract com.google.common.util.concurrent.ListenableFuture<? extends org.opendaylight.yangtools.yang.common.RpcResult<?>> invokeRpc()
-
-