Electroneum
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
cryptonote::rpc::Message Class Reference

#include <message.h>

Collaboration diagram for cryptonote::rpc::Message:
Collaboration graph
[legend]

Public Member Functions

 Message ()
 
virtual ~Message ()
 
virtual rapidjson::Value toJson (rapidjson::Document &doc) const
 
virtual void fromJson (rapidjson::Value &val)
 

Public Attributes

std::string status
 
std::string error_details
 
uint32_t rpc_version
 

Static Public Attributes

static const char * STATUS_OK = "OK"
 
static const char * STATUS_RETRY = "Retry"
 
static const char * STATUS_FAILED = "Failed"
 
static const char * STATUS_BAD_REQUEST = "Invalid request type"
 
static const char * STATUS_BAD_JSON = "Malformed json"
 

Constructor & Destructor Documentation

◆ Message()

cryptonote::rpc::Message::Message ( )
inline

◆ ~Message()

virtual cryptonote::rpc::Message::~Message ( )
inlinevirtual

Member Function Documentation

◆ fromJson()

void cryptonote::rpc::Message::fromJson ( rapidjson::Value &  val)
virtual

◆ toJson()

rapidjson::Value cryptonote::rpc::Message::toJson ( rapidjson::Document &  doc) const
virtual

Member Data Documentation

◆ error_details

std::string cryptonote::rpc::Message::error_details

◆ rpc_version

uint32_t cryptonote::rpc::Message::rpc_version

◆ status

std::string cryptonote::rpc::Message::status

◆ STATUS_BAD_JSON

const char * cryptonote::rpc::Message::STATUS_BAD_JSON = "Malformed json"
static

◆ STATUS_BAD_REQUEST

const char * cryptonote::rpc::Message::STATUS_BAD_REQUEST = "Invalid request type"
static

◆ STATUS_FAILED

const char * cryptonote::rpc::Message::STATUS_FAILED = "Failed"
static

◆ STATUS_OK

const char * cryptonote::rpc::Message::STATUS_OK = "OK"
static

◆ STATUS_RETRY

const char * cryptonote::rpc::Message::STATUS_RETRY = "Retry"
static

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