Bitcoin ABC 0.30.5
P2P Digital Currency
|
Base class for all RPC commands. More...
#include <command.h>
Public Member Functions | |
RPCCommand (const std::string &nameIn) | |
virtual | ~RPCCommand () |
RPCCommand (const RPCCommand &)=delete | |
RPCCommand & | operator= (const RPCCommand &)=delete |
virtual UniValue | Execute (const JSONRPCRequest &request) const =0 |
It is recommended to override Execute(JSONRPCRequest) only if the entire request context is required. More... | |
const std::string & | GetName () const |
Private Attributes | |
const std::string | name |
Base class for all RPC commands.
RPCCommand should only be inherited from directly if access to the entire request context is necessary. For more typical cases where only request arguments are required, see the RPCCommandWithArgsContext class.
|
inline |
|
delete |
|
pure virtual |
It is recommended to override Execute(JSONRPCRequest) only if the entire request context is required.
Otherwise, use RPCCommandWithArgsContext instead.
Implemented in RPCCommandWithArgsContext.
|
delete |