Bitcoin ABC 0.30.5
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 324 of file bitcoin-cli.cpp.

Constructor & Destructor Documentation

◆ ~BaseRequestHandler()

virtual BaseRequestHandler::~BaseRequestHandler ( )
inlinevirtual

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

Member Function Documentation

◆ PrepareRequest()

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

◆ ProcessReply()

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

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