rippled
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ripple::RPC::LedgerHandler Class Reference
Collaboration diagram for ripple::RPC::LedgerHandler:
Collaboration graph
[legend]

Public Member Functions

 LedgerHandler (JsonContext &)
 
Status check ()
 
template<class Object >
void writeResult (Object &)
 

Static Public Member Functions

static char const * name ()
 
static Role role ()
 
static Condition condition ()
 

Private Attributes

JsonContextcontext_
 
std::shared_ptr< ReadView const > ledger_
 
std::vector< TxQ::TxDetailsqueueTxs_
 
Json::Value result_
 
int options_ = 0
 
LedgerEntryType type_
 

Detailed Description

Definition at line 49 of file LedgerHandler.h.

Constructor & Destructor Documentation

◆ LedgerHandler()

ripple::RPC::LedgerHandler::LedgerHandler ( JsonContext context)
explicit

Definition at line 35 of file LedgerHandler.cpp.

Member Function Documentation

◆ check()

Status ripple::RPC::LedgerHandler::check ( )

Definition at line 40 of file LedgerHandler.cpp.

◆ writeResult()

template<class Object >
void ripple::RPC::LedgerHandler::writeResult ( Object &  value)

Definition at line 95 of file LedgerHandler.h.

◆ name()

static char const* ripple::RPC::LedgerHandler::name ( )
static

Definition at line 62 of file LedgerHandler.h.

◆ role()

static Role ripple::RPC::LedgerHandler::role ( )
static

Definition at line 68 of file LedgerHandler.h.

◆ condition()

static Condition ripple::RPC::LedgerHandler::condition ( )
static

Definition at line 74 of file LedgerHandler.h.

Member Data Documentation

◆ context_

JsonContext& ripple::RPC::LedgerHandler::context_
private

Definition at line 80 of file LedgerHandler.h.

◆ ledger_

std::shared_ptr<ReadView const> ripple::RPC::LedgerHandler::ledger_
private

Definition at line 81 of file LedgerHandler.h.

◆ queueTxs_

std::vector<TxQ::TxDetails> ripple::RPC::LedgerHandler::queueTxs_
private

Definition at line 82 of file LedgerHandler.h.

◆ result_

Json::Value ripple::RPC::LedgerHandler::result_
private

Definition at line 83 of file LedgerHandler.h.

◆ options_

int ripple::RPC::LedgerHandler::options_ = 0
private

Definition at line 84 of file LedgerHandler.h.

◆ type_

LedgerEntryType ripple::RPC::LedgerHandler::type_
private

Definition at line 85 of file LedgerHandler.h.