Bitcoin ABC 0.30.7
P2P Digital Currency
|
By default, use RPCCommandWithArgsContext as the parent class for new RPC command classes that only depend on RPC arguments. More...
#include <command.h>
Public Member Functions | |
RPCCommandWithArgsContext (const std::string &nameIn) | |
virtual UniValue | Execute (const UniValue &args) const =0 |
UniValue | Execute (const JSONRPCRequest &request) const final |
It is recommended to override Execute(JSONRPCRequest) only if the entire request context is required. More... | |
Public Member Functions inherited from RPCCommand | |
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 |
By default, use RPCCommandWithArgsContext as the parent class for new RPC command classes that only depend on RPC arguments.
|
inline |
|
finalvirtual |
It is recommended to override Execute(JSONRPCRequest) only if the entire request context is required.
Otherwise, use RPCCommandWithArgsContext instead.
Implements RPCCommand.
Definition at line 9 of file command.cpp.