![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <server.h>
Public Member Functions | |
CRPCTable () | |
const CRPCCommand * | operator[] (const std::string &name) const |
std::string | help (const std::string &name) const |
UniValue | execute (const std::string &method, const UniValue ¶ms) const |
std::vector< std::string > | listCommands () const |
Private Attributes | |
std::map< std::string, const CRPCCommand * > | mapCommands |
CRPCTable::CRPCTable | ( | ) |
Definition at line 410 of file server.cpp.
Execute a method.
method | Method to execute |
params | UniValue Array of arguments (JSON objects) |
an | exception (UniValue) when an error happens. |
Definition at line 541 of file server.cpp.
Referenced by HTTPReq_JSONRPC(), JSONRPCExecOne(), and RPCExecutor::request().
std::string CRPCTable::help | ( | const std::string & | strCommand | ) | const |
Note: This interface may still be subject to change.
Definition at line 165 of file server.cpp.
Referenced by help().
std::vector< std::string > CRPCTable::listCommands | ( | ) | const |
Returns a list of registered commands
Definition at line 570 of file server.cpp.
Referenced by RPCConsole::setClientModel().
const CRPCCommand * CRPCTable::operator[] | ( | const std::string & | name | ) | const |
Definition at line 422 of file server.cpp.
|
private |