Bitcoin Core  0.15.99
P2P Digital Currency
Public Member Functions | List of all members
BaseRequestHandler Class Referenceabstract

Class that handles the conversion from a command-line to a JSON-RPC request, as well as converting back to a JSON object that can be shown as result. More...

Inheritance diagram for BaseRequestHandler:
[legend]

Public Member Functions

virtual ~BaseRequestHandler ()
 
virtual UniValue PrepareRequest (const std::string &method, const std::vector< std::string > &args)=0
 
virtual UniValue ProcessReply (const UniValue &batch_in)=0
 

Detailed Description

Class that handles the conversion from a command-line to a JSON-RPC request, as well as converting back to a JSON object that can be shown as result.

Definition at line 216 of file bitcoin-cli.cpp.

Constructor & Destructor Documentation

virtual BaseRequestHandler::~BaseRequestHandler ( )
inlinevirtual

Definition at line 219 of file bitcoin-cli.cpp.

Member Function Documentation

virtual UniValue BaseRequestHandler::PrepareRequest ( const std::string &  method,
const std::vector< std::string > &  args 
)
pure virtual

Implemented in DefaultRequestHandler, and GetinfoRequestHandler.

Here is the caller graph for this function:

virtual UniValue BaseRequestHandler::ProcessReply ( const UniValue batch_in)
pure virtual

Implemented in DefaultRequestHandler, and GetinfoRequestHandler.

Here is the caller graph for this function:


The documentation for this class was generated from the following file: