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 -
Method Summary
-
Constructor Details
-
AbstractRpcAction
public AbstractRpcAction()
-
-
Method Details
-
execute
- 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()
-