Bitcoin ABC 0.26.3
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. | |
Public Member Functions inherited from RPCCommand | |
RPCCommand (const std::string &nameIn) | |
virtual | ~RPCCommand () |
RPCCommand (const RPCCommand &)=delete | |
RPCCommand & | operator= (const RPCCommand &)=delete |
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.