![]() |
Anoncoin
0.9.4
P2P Digital Currency
|
Anoncoin RPC command dispatcher. More...
#include <rpcserver.h>
Public Member Functions | |
CRPCTable () | |
const CRPCCommand * | operator[] (std::string name) const |
std::string | help (std::string name) const |
Note: This interface may still be subject to change. More... | |
json_spirit::Value | execute (const std::string &method, const json_spirit::Array ¶ms) const |
Execute a method. More... | |
Private Attributes | |
std::map< std::string, const CRPCCommand * > | mapCommands |
Anoncoin RPC command dispatcher.
Definition at line 69 of file rpcserver.h.
CRPCTable::CRPCTable | ( | ) |
Definition at line 329 of file rpcserver.cpp.
json_spirit::Value CRPCTable::execute | ( | const std::string & | method, |
const json_spirit::Array & | params | ||
) | const |
Execute a method.
method | Method to execute |
params | Array of arguments (JSON objects) |
an | exception (json_spirit::Value) when an error happens. |
Definition at line 852 of file rpcserver.cpp.
string CRPCTable::help | ( | std::string | name | ) | const |
Note: This interface may still be subject to change.
Definition at line 149 of file rpcserver.cpp.
const CRPCCommand * CRPCTable::operator[] | ( | std::string | name | ) | const |
Definition at line 341 of file rpcserver.cpp.
|
private |
Definition at line 72 of file rpcserver.h.