rippled
Public Types | Public Attributes | List of all members
ripple::RPC::Handler Struct Reference
Collaboration diagram for ripple::RPC::Handler:
Collaboration graph
[legend]

Public Types

template<class JsonValue >
using Method = std::function< Status(JsonContext &, JsonValue &)>
 

Public Attributes

const char * name_
 
Method< Json::ValuevalueMethod_
 
Role role_
 
RPC::Condition condition_
 
unsigned minApiVer_ = apiMinimumSupportedVersion
 
unsigned maxApiVer_ = apiMaximumValidVersion
 

Detailed Description

Definition at line 47 of file Handler.h.

Member Typedef Documentation

◆ Method

template<class JsonValue >
using ripple::RPC::Handler::Method = std::function<Status(JsonContext&, JsonValue&)>

Definition at line 50 of file Handler.h.

Member Data Documentation

◆ name_

const char* ripple::RPC::Handler::name_

Definition at line 52 of file Handler.h.

◆ valueMethod_

Method<Json::Value> ripple::RPC::Handler::valueMethod_

Definition at line 53 of file Handler.h.

◆ role_

Role ripple::RPC::Handler::role_

Definition at line 54 of file Handler.h.

◆ condition_

RPC::Condition ripple::RPC::Handler::condition_

Definition at line 55 of file Handler.h.

◆ minApiVer_

unsigned ripple::RPC::Handler::minApiVer_ = apiMinimumSupportedVersion

Definition at line 57 of file Handler.h.

◆ maxApiVer_

unsigned ripple::RPC::Handler::maxApiVer_ = apiMaximumValidVersion

Definition at line 58 of file Handler.h.