Raven Core  3.0.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
GetinfoRequestHandler Class Reference

Process getinfo requests. More...

Inheritance diagram for GetinfoRequestHandler:
[legend]
Collaboration diagram for GetinfoRequestHandler:
[legend]

Public Member Functions

UniValue PrepareRequest (const std::string &method, const std::vector< std::string > &args) override
 Create a simulated getinfo request. More...
 
UniValue ProcessReply (const UniValue &batch_in) override
 Collect values from the batch and form a simulated getinfo reply. More...
 

Public Attributes

const int ID_NETWORKINFO = 0
 
const int ID_BLOCKCHAININFO = 1
 
const int ID_WALLETINFO = 2
 

Detailed Description

Process getinfo requests.

Definition at line 207 of file raven-cli.cpp.

Member Function Documentation

◆ PrepareRequest()

UniValue GetinfoRequestHandler::PrepareRequest ( const std::string &  method,
const std::vector< std::string > &  args 
)
inlineoverridevirtual

Create a simulated getinfo request.

Implements BaseRequestHandler.

Definition at line 215 of file raven-cli.cpp.

Here is the call graph for this function:

◆ ProcessReply()

UniValue GetinfoRequestHandler::ProcessReply ( const UniValue batch_in)
inlineoverridevirtual

Collect values from the batch and form a simulated getinfo reply.

Implements BaseRequestHandler.

Definition at line 225 of file raven-cli.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ ID_BLOCKCHAININFO

const int GetinfoRequestHandler::ID_BLOCKCHAININFO = 1

Definition at line 211 of file raven-cli.cpp.

◆ ID_NETWORKINFO

const int GetinfoRequestHandler::ID_NETWORKINFO = 0

Definition at line 210 of file raven-cli.cpp.

◆ ID_WALLETINFO

const int GetinfoRequestHandler::ID_WALLETINFO = 2

Definition at line 212 of file raven-cli.cpp.


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