Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <MemoryDB.h>
Public Member Functions | |
virtual RPCModules | implementedModules () const override |
virtual bool | db_put (std::string const &_name, std::string const &_key, std::string const &_value) override |
virtual std::string | db_get (std::string const &_name, std::string const &_key) override |
Public Member Functions inherited from dev::rpc::DBFace | |
DBFace () | |
virtual void | db_putI (const Json::Value &request, Json::Value &response) |
virtual void | db_getI (const Json::Value &request, Json::Value &response) |
Public Member Functions inherited from ServerInterface< DBFace > | |
virtual | ~ServerInterface () |
Methods const & | methods () const |
Notifications const & | notifications () const |
Private Attributes | |
std::map< std::string, std::string > | m_db |
Additional Inherited Members | |
Public Types inherited from ServerInterface< DBFace > | |
using | MethodPointer = AbstractMethodPointer< DBFace > |
using | NotificationPointer = AbstractNotificationPointer< DBFace > |
using | MethodBinding = std::tuple< jsonrpc::Procedure, AbstractMethodPointer< DBFace >> |
using | NotificationBinding = std::tuple< jsonrpc::Procedure, AbstractNotificationPointer< DBFace >> |
using | Methods = std::vector< MethodBinding > |
using | Notifications = std::vector< NotificationBinding > |
using | RPCModules = std::vector< RPCModule > |
Protected Member Functions inherited from ServerInterface< DBFace > | |
void | bindAndAddMethod (jsonrpc::Procedure const &_proc, MethodPointer _pointer) |
void | bindAndAddNotification (jsonrpc::Procedure const &_proc, NotificationPointer _pointer) |
Definition at line 32 of file MemoryDB.h.
|
overridevirtual |
Implements dev::rpc::DBFace.
Definition at line 35 of file MemoryDB.cpp.
|
overridevirtual |
Implements dev::rpc::DBFace.
Definition at line 28 of file MemoryDB.cpp.
|
inlineoverridevirtual |
Implements ServerInterface< DBFace >.
Definition at line 35 of file MemoryDB.h.
|
private |
Definition at line 43 of file MemoryDB.h.